public override TablixMember this[int index] { get { if (index < 0 || index >= Count) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, Count); } if (m_children == null) { m_children = new DataRegionMember[Count]; } TablixMember tablixMember = (TablixMember)m_children[index]; if (tablixMember == null) { IReportScope reportScope = (m_parent != null) ? m_parent.ReportScope : m_owner.ReportScope; tablixMember = (TablixMember)(m_children[index] = new InternalTablixMember(reportScope, this, base.OwnerTablix, m_parent, m_memberDefs[index], index)); } return(tablixMember); } }
internal InternalTablixMemberVisibilityInstance(InternalTablixMember owner) : base(owner.ReportScope) { m_owner = owner; }