Esempio n. 1
0
        protected static IRIFReportDataScope FindReportDataScope(IInstancePath candidate)
        {
            IRIFReportDataScope iRIFReportDataScope = null;

            while (candidate != null && iRIFReportDataScope == null)
            {
                InstancePathItemType type = candidate.InstancePathItem.Type;
                if (type == InstancePathItemType.DataRegion || (uint)(type - 3) <= 3u)
                {
                    iRIFReportDataScope = (IRIFReportDataScope)candidate;
                }
                candidate = candidate.ParentInstancePath;
            }
            return(iRIFReportDataScope);
        }
 internal InstancePathItem(InstancePathItem original)
 {
     m_indexType         = original.m_indexType;
     m_instanceIndex     = original.m_instanceIndex;
     m_indexInCollection = original.m_indexInCollection;
 }
 internal InstancePathItem(InstancePathItemType type, int id)
 {
     m_indexType         = type;
     m_indexInCollection = id;
 }
 internal InstancePathItem()
 {
     m_indexType = InstancePathItemType.None;
 }
 public InstancePathItem(InstancePathItem original)
 {
     this.m_indexType         = original.m_indexType;
     this.m_instanceIndex     = original.m_instanceIndex;
     this.m_indexInCollection = original.m_indexInCollection;
 }
 public InstancePathItem(InstancePathItemType type, int id)
 {
     this.m_indexType         = type;
     this.m_indexInCollection = id;
 }
 public InstancePathItem()
 {
     this.m_indexType = InstancePathItemType.None;
 }