public ReportItemCollection(IDefinitionPath parentDefinitionPath, bool inSubtotal, AspNetCore.ReportingServices.ReportRendering.ReportItemCollection renderReportItemCollection, RenderingContext renderingContext)
 {
     this.m_parentDefinitionPath       = parentDefinitionPath;
     this.m_isOldSnapshot              = true;
     this.m_inSubtotal                 = inSubtotal;
     this.m_renderReportItemCollection = renderReportItemCollection;
     this.m_renderingContext           = renderingContext;
 }
Example #2
0
        public override bool Search(SearchContext searchContext)
        {
            ReportItemCollection reportItemCollection = this.ReportItemCollection;

            if (reportItemCollection == null)
            {
                return(false);
            }
            return(reportItemCollection.Search(searchContext));
        }
 public void UpdateRenderReportItem(AspNetCore.ReportingServices.ReportRendering.ReportItemCollection renderReportItemCollection)
 {
     if (!this.m_isOldSnapshot)
     {
         throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidOperation);
     }
     if (renderReportItemCollection != null)
     {
         this.m_renderReportItemCollection = renderReportItemCollection;
     }
     if (this.m_reportItems != null)
     {
         for (int i = 0; i < this.m_reportItems.Length; i++)
         {
             if (this.m_reportItems[i] != null)
             {
                 this.m_reportItems[i].UpdateRenderReportItem(renderReportItemCollection[i]);
             }
         }
     }
 }