public Action Add(ActionInfo owner, AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem actionItem)
        {
            Action action = new Action(owner, actionItem, this.m_list.Count);

            this.m_list.Add(action);
            return(action);
        }
        IActionInstance IRichTextInstanceCreator.CreateActionInstance()
        {
            AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem actionItem = new AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem();
            AspNetCore.ReportingServices.ReportIntermediateFormat.Action     action     = new AspNetCore.ReportingServices.ReportIntermediateFormat.Action();
            action.ActionItems.Add(actionItem);
            ActionInfo owner = new ActionInfo(this.m_textRunDef.RenderingContext, this.m_textRunDef.ReportScope, action, ((InternalTextRun)this.m_textRunDef).TextRunDef, this.m_textRunDef, ObjectType.TextRun, ((InternalTextRun)this.m_textRunDef).TextRunDef.Name, this.m_textRunDef);

            return(new Action(owner, actionItem, 0).Instance);
        }
Ejemplo n.º 3
0
 public Action CreateDrillthroughAction()
 {
     this.AssertValidCreateActionContext();
     this.InitActions();
     if (this.Actions.Count > 0)
     {
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation);
     }
     AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem actionItem = new AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem();
     actionItem.DrillthroughReportName = AspNetCore.ReportingServices.ReportIntermediateFormat.ExpressionInfo.CreateEmptyExpression();
     this.m_actionDef.ActionItems.Add(actionItem);
     return(this.Actions.Add(this, actionItem));
 }
Ejemplo n.º 4
0
		public Action(ActionInfo owner, AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem actionItemDef, int index)
		{
			this.m_owner = owner;
			this.m_actionItemDef = actionItemDef;
			this.m_index = index;
		}
Ejemplo n.º 5
0
 public Action(ActionItem actionItem, bool computed)
 {
     this.m_actionItemList = new List <ActionItem>();
     this.m_actionItemList.Add(actionItem);
 }