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); } }
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; }
private bool Initialize(ReportSnapshot newSnapshot, ChunkManager.ProcessingChunkManager chunkManager, bool renderingInfoChanged, RenderingInfoManager renderingInfoManager) { m_newSnapshot = newSnapshot; m_legacyChunkManager = chunkManager; m_renderingInfoChanged = renderingInfoChanged; m_renderingInfoManager = renderingInfoManager; if (!m_renderingInfoChanged) { return(m_newSnapshot != null); } return(true); }
public override void Save() { lock (this) { if (m_newSnapshot != null && m_legacyChunkManager != null) { m_legacyChunkManager.SaveFirstPage(); m_legacyChunkManager.SaveReportSnapshot(m_newSnapshot); m_newSnapshot = null; } if (m_renderingInfoChanged && m_renderingInfoManager != null) { ChunkFactoryAdapter @object = new ChunkFactoryAdapter(m_createChunkFactory); m_renderingInfoManager.Save(@object.CreateReportChunk); m_renderingInfoManager = null; } } }
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); } }
internal YukonProcessingResult(ReportSnapshot newSnapshot, ChunkManager.ProcessingChunkManager chunkManager, ParameterInfoCollection parameters, int autoRefresh, int numberOfPages, ProcessingMessageList warnings, ReportProcessingFlags updatedProcessingFlags, UserProfileState usedUserProfileState, ExecutionLogContext executionLogContext) : base(null, newSnapshot.HasDocumentMap, newSnapshot.HasShowHide, parameters, autoRefresh, numberOfPages, warnings, eventInfoChanged: false, null, PaginationMode.Progressive, updatedProcessingFlags, usedUserProfileState, executionLogContext) { m_snapshotChanged = Initialize(newSnapshot, chunkManager, renderingInfoChanged: false, null); }
internal YukonProcessingResult(ReportSnapshot newSnapshot, ChunkManager.ProcessingChunkManager chunkManager, IChunkFactory createChunkFactory, ParameterInfoCollection parameters, int autoRefresh, int numberOfPages, ProcessingMessageList warnings, bool renderingInfoChanged, RenderingInfoManager renderingInfoManager, bool eventInfoChanged, EventInformation newEventInfo, PaginationMode updatedPaginationMode, ReportProcessingFlags updatedProcessingFlags, UserProfileState usedUserProfileState, ExecutionLogContext executionLogContext) : base(createChunkFactory, newSnapshot.HasDocumentMap, newSnapshot.HasShowHide, parameters, autoRefresh, numberOfPages, warnings, eventInfoChanged, newEventInfo, updatedPaginationMode, updatedProcessingFlags, usedUserProfileState, executionLogContext) { m_snapshotChanged = Initialize(newSnapshot, chunkManager, renderingInfoChanged, renderingInfoManager); }