示例#1
0
        internal Microsoft.ReportingServices.ReportIntermediateFormat.DataRegion GetParentDataRegion(IRIFDataScope scope)
        {
            Microsoft.ReportingServices.ReportIntermediateFormat.DataRegion parentDataRegion = null;
            DirectedScopeTreeVisitor visitor = delegate(IRIFDataScope candidate)
            {
                if (candidate != scope)
                {
                    parentDataRegion = (candidate as Microsoft.ReportingServices.ReportIntermediateFormat.DataRegion);
                }
                return(parentDataRegion == null);
            };

            Traverse(visitor, scope);
            return(parentDataRegion);
        }
        public AspNetCore.ReportingServices.ReportIntermediateFormat.DataRegion GetParentDataRegion(IRIFDataScope scope)
        {
            AspNetCore.ReportingServices.ReportIntermediateFormat.DataRegion parentDataRegion = null;
            DirectedScopeTreeVisitor visitor = delegate(IRIFDataScope candidate)
            {
                if (candidate != scope)
                {
                    parentDataRegion = (candidate as AspNetCore.ReportingServices.ReportIntermediateFormat.DataRegion);
                }
                return(parentDataRegion == null);
            };

            this.Traverse(visitor, scope);
            return(parentDataRegion);
        }
示例#3
0
 internal bool Traverse(DirectedScopeTreeVisitor visitor, IRIFDataScope startScope)
 {
     return(GetScopeNodeOrAssert(startScope).Traverse(visitor));
 }
        public bool Traverse(DirectedScopeTreeVisitor visitor, IRIFDataScope startScope)
        {
            ScopeTreeNode scopeNodeOrAssert = this.GetScopeNodeOrAssert(startScope);

            return(scopeNodeOrAssert.Traverse(visitor));
        }