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); }
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)); }
public Action(ActionInfo owner, AspNetCore.ReportingServices.ReportIntermediateFormat.ActionItem actionItemDef, int index) { this.m_owner = owner; this.m_actionItemDef = actionItemDef; this.m_index = index; }
public Action(ActionItem actionItem, bool computed) { this.m_actionItemList = new List <ActionItem>(); this.m_actionItemList.Add(actionItem); }