public RuntimeSortHierarchyObj(IHierarchyObj outerHierarchy, int depth) { this.m_hierarchyRoot = outerHierarchy.HierarchyRoot; this.m_odpContext = this.m_hierarchyRoot.Value().OdpContext; List <int> sortFilterInfoIndices = this.m_hierarchyRoot.Value().SortFilterInfoIndices; int num = outerHierarchy.ExpressionIndex + 1; if (sortFilterInfoIndices == null || num >= sortFilterInfoIndices.Count) { RuntimeDataTablixGroupRootObjReference runtimeDataTablixGroupRootObjReference = this.m_hierarchyRoot as RuntimeDataTablixGroupRootObjReference; if ((BaseReference)null != (object)runtimeDataTablixGroupRootObjReference) { using (runtimeDataTablixGroupRootObjReference.PinValue()) { RuntimeDataTablixGroupRootObj runtimeDataTablixGroupRootObj = runtimeDataTablixGroupRootObjReference.Value(); this.m_dataHolder = (IReference <ISortDataHolder>)runtimeDataTablixGroupRootObj.CreateGroupLeaf(); if (!runtimeDataTablixGroupRootObj.HasParent) { runtimeDataTablixGroupRootObj.AddChildWithNoParent((RuntimeGroupLeafObjReference)this.m_dataHolder); } } } else { this.m_dataRowHolder = new RuntimeSortDataHolder(); } } else { this.m_sortHierarchyStruct = new SortHierarchyStructure(this, num, this.m_odpContext.RuntimeSortFilterInfo, sortFilterInfoIndices); } }
protected static IOnDemandMemberInstanceReference GetFirstMemberInstance(Microsoft.ReportingServices.ReportIntermediateFormat.ReportHierarchyNode rifMember, IReference <RuntimeMemberObj>[] memberCol) { IOnDemandMemberInstanceReference result = null; RuntimeDataTablixGroupRootObjReference groupRoot = GetGroupRoot(rifMember, memberCol); using (groupRoot.PinValue()) { RuntimeGroupLeafObjReference firstChild = groupRoot.Value().FirstChild; if (firstChild != null) { return((IOnDemandMemberInstanceReference)firstChild); } return(result); } }
protected static IOnDemandMemberInstanceReference GetFirstMemberInstance(AspNetCore.ReportingServices.ReportIntermediateFormat.ReportHierarchyNode rifMember, IReference <RuntimeMemberObj>[] memberCol) { IOnDemandMemberInstanceReference result = null; RuntimeDataTablixGroupRootObjReference groupRoot = RuntimeDataRegionObj.GetGroupRoot(rifMember, memberCol); using (groupRoot.PinValue()) { RuntimeDataTablixGroupRootObj runtimeDataTablixGroupRootObj = groupRoot.Value(); RuntimeGroupLeafObjReference firstChild = runtimeDataTablixGroupRootObj.FirstChild; if ((BaseReference)firstChild != (object)null) { return((IOnDemandMemberInstanceReference)firstChild); } return(result); } }
protected override void CalculateRunningValuesForStaticContents(AggregateUpdateContext aggContext) { if (base.m_processHeading) { RuntimeDataTablixGroupRootObjReference runtimeDataTablixGroupRootObjReference = (RuntimeDataTablixGroupRootObjReference)base.m_hierarchyRoot; using (runtimeDataTablixGroupRootObjReference.PinValue()) { RuntimeDataTablixGroupRootObj runtimeDataTablixGroupRootObj = runtimeDataTablixGroupRootObjReference.Value(); Dictionary <string, IReference <RuntimeGroupRootObj> > groupCollection = runtimeDataTablixGroupRootObj.GroupCollection; RuntimeGroupRootObjReference lastGroup = runtimeDataTablixGroupRootObjReference; if (this.m_groupScopedItems != null) { this.m_groupScopedItems.CalculateRunningValues(groupCollection, lastGroup, aggContext); } } } }
public virtual void Deserialize(IntermediateFormatReader reader) { reader.RegisterDeclaration(m_declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Owner: m_owner = (IReference <IScope>)reader.ReadRIFObject(); break; case MemberName.GroupRoot: m_groupRoot = (RuntimeDataTablixGroupRootObjReference)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(condition: false); break; } } }
internal RuntimeTablixGroupLeafObj(RuntimeDataTablixGroupRootObjReference groupRootRef, Microsoft.ReportingServices.ReportProcessing.ObjectType objectType) : base(groupRootRef, objectType) { }
public RuntimeTablixGroupLeafObj(RuntimeDataTablixGroupRootObjReference groupRootRef, AspNetCore.ReportingServices.ReportProcessing.ObjectType objectType) : base(groupRootRef, objectType) { }