Example #1
0
 internal RenderingContext(string rendererID, Microsoft.ReportingServices.ReportProcessing.ReportSnapshot reportSnapshot, IChunkFactory chunkFactory, EventInformation eventInfo)
 {
     m_rendererID         = rendererID;
     m_isSubReportContext = false;
     m_oldReportSnapshot  = reportSnapshot;
     InitEventInfo(eventInfo);
     if (chunkFactory != null)
     {
         m_chunkManager = new RenderingChunkManager(rendererID, chunkFactory);
     }
 }
Example #2
0
 internal RenderingContext(RenderingContext parentContext, OnDemandProcessingContext onDemandProcessingContext)
 {
     m_rendererID         = parentContext.m_rendererID;
     m_isSubReportContext = true;
     m_pageEvaluation     = null;
     m_dynamicInstances   = null;
     m_oldReportSnapshot  = parentContext.m_oldReportSnapshot;
     m_eventInfo          = parentContext.EventInfo;
     m_reportSnapshot     = parentContext.m_reportSnapshot;
     m_chunkManager       = parentContext.m_chunkManager;
     m_odpContext         = onDemandProcessingContext;
 }
Example #3
0
 internal RenderingContext(string rendererID, Microsoft.ReportingServices.ReportIntermediateFormat.ReportSnapshot reportSnapshot, EventInformation eventInfo, OnDemandProcessingContext processingContext)
 {
     m_rendererID         = rendererID;
     m_isSubReportContext = false;
     m_reportSnapshot     = reportSnapshot;
     InitEventInfo(eventInfo);
     m_odpContext = processingContext;
     if (processingContext.ChunkFactory != null)
     {
         m_chunkManager = new RenderingChunkManager(rendererID, processingContext.ChunkFactory);
     }
 }
Example #4
0
 internal RenderingContext(RenderingContext parentContext, bool hasReportItemReferences)
 {
     m_rendererID         = parentContext.m_rendererID;
     m_isSubReportContext = true;
     m_pageEvaluation     = null;
     m_dynamicInstances   = null;
     m_eventInfo          = parentContext.EventInfo;
     m_reportSnapshot     = parentContext.m_reportSnapshot;
     m_oldReportSnapshot  = parentContext.m_oldReportSnapshot;
     m_chunkManager       = parentContext.m_chunkManager;
     if (m_oldReportSnapshot != null)
     {
         m_odpContext = parentContext.OdpContext;
     }
     else
     {
         m_odpContext = new OnDemandProcessingContext(parentContext.m_odpContext, hasReportItemReferences, m_reportSnapshot.Report);
     }
 }