public RenderingContext(string rendererID, AspNetCore.ReportingServices.ReportProcessing.ReportSnapshot reportSnapshot, IChunkFactory chunkFactory, EventInformation eventInfo) { this.m_rendererID = rendererID; this.m_isSubReportContext = false; this.m_oldReportSnapshot = reportSnapshot; this.InitEventInfo(eventInfo); if (chunkFactory != null) { this.m_chunkManager = new RenderingChunkManager(rendererID, chunkFactory); } }
public RenderingContext(RenderingContext parentContext, OnDemandProcessingContext onDemandProcessingContext) { this.m_rendererID = parentContext.m_rendererID; this.m_isSubReportContext = true; this.m_pageEvaluation = null; this.m_dynamicInstances = null; this.m_oldReportSnapshot = parentContext.m_oldReportSnapshot; this.m_eventInfo = parentContext.EventInfo; this.m_reportSnapshot = parentContext.m_reportSnapshot; this.m_chunkManager = parentContext.m_chunkManager; this.m_odpContext = onDemandProcessingContext; }
private bool Initialize(ReportSnapshot newSnapshot, ChunkManager.ProcessingChunkManager chunkManager, bool renderingInfoChanged, RenderingInfoManager renderingInfoManager) { this.m_newSnapshot = newSnapshot; this.m_legacyChunkManager = chunkManager; this.m_renderingInfoChanged = renderingInfoChanged; this.m_renderingInfoManager = renderingInfoManager; if (!this.m_renderingInfoChanged) { return(null != this.m_newSnapshot); } return(true); }
public override void Save() { lock (this) { if (this.m_newSnapshot != null && this.m_legacyChunkManager != null) { this.m_legacyChunkManager.SaveFirstPage(); this.m_legacyChunkManager.SaveReportSnapshot(this.m_newSnapshot); this.m_newSnapshot = null; } if (this.m_renderingInfoChanged && this.m_renderingInfoManager != null) { ChunkFactoryAdapter @object = new ChunkFactoryAdapter(base.m_createChunkFactory); this.m_renderingInfoManager.Save(@object.CreateReportChunk); this.m_renderingInfoManager = null; } } }
public RenderingContext(RenderingContext parentContext, bool hasReportItemReferences) { this.m_rendererID = parentContext.m_rendererID; this.m_isSubReportContext = true; this.m_pageEvaluation = null; this.m_dynamicInstances = null; this.m_eventInfo = parentContext.EventInfo; this.m_reportSnapshot = parentContext.m_reportSnapshot; this.m_oldReportSnapshot = parentContext.m_oldReportSnapshot; this.m_chunkManager = parentContext.m_chunkManager; if (this.m_oldReportSnapshot != null) { this.m_odpContext = parentContext.OdpContext; } else { this.m_odpContext = new OnDemandProcessingContext(parentContext.m_odpContext, hasReportItemReferences, this.m_reportSnapshot.Report); } }
public 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, false, null, PaginationMode.Progressive, updatedProcessingFlags, usedUserProfileState, executionLogContext) { this.m_snapshotChanged = this.Initialize(newSnapshot, chunkManager, false, null); }
public 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) { this.m_snapshotChanged = this.Initialize(newSnapshot, chunkManager, renderingInfoChanged, renderingInfoManager); }