public void PrepareForCachedDataProcessing(OnDemandMetadata odpMetadata) { this.m_subReportInfoMap = odpMetadata.m_subReportInfoMap; this.m_commonSubReportInfoMap = odpMetadata.m_commonSubReportInfoMap; this.m_dataChunkMap = odpMetadata.m_dataChunkMap; this.CommonPrepareForReprocessing(); }
public OnDemandMetadata(OnDemandMetadata metadataFromOldSnapshot, AspNetCore.ReportingServices.ReportIntermediateFormat.Report report) { this.m_isInitialProcessingRequest = true; this.m_metaDataChanged = true; this.m_report = report; this.m_odpChunkManager = metadataFromOldSnapshot.m_odpChunkManager; this.m_subReportInfoMap = metadataFromOldSnapshot.m_subReportInfoMap; this.m_commonSubReportInfoMap = metadataFromOldSnapshot.m_commonSubReportInfoMap; this.m_dataChunkMap = metadataFromOldSnapshot.m_dataChunkMap; this.m_lastAssignedGlobalID = metadataFromOldSnapshot.m_lastAssignedGlobalID; this.CommonPrepareForReprocessing(); }
public bool TryGetExternalImage(string value, out byte[] imageData, out string mimeType, out string streamName, out bool wasError) { imageData = null; mimeType = null; streamName = null; OnDemandMetadata odpMetadata = this.m_odpMetadata; AspNetCore.ReportingServices.ReportIntermediateFormat.ImageInfo imageInfo = default(AspNetCore.ReportingServices.ReportIntermediateFormat.ImageInfo); if (odpMetadata.TryGetExternalImage(value, out imageInfo)) { if (imageInfo.ErrorOccurred) { wasError = true; return(true); } wasError = false; return(this.ExtractCachedExternalImagePropertiesIfValid(imageInfo, out imageData, out mimeType, out streamName)); } wasError = false; return(false); }
public SnapshotImageCacheManager(OnDemandMetadata odpMetadata, IChunkFactory chunkFactory) : base(odpMetadata, chunkFactory) { }
public ImageCacheManager(OnDemandMetadata odpMetadata, IChunkFactory chunkFactory) { this.m_odpMetadata = odpMetadata; this.m_chunkFactory = chunkFactory; }
public StreamingImageCacheManager(OnDemandMetadata odpMetadata, IChunkFactory chunkFactory) : base(odpMetadata, chunkFactory) { }
public IReference <AspNetCore.ReportingServices.ReportIntermediateFormat.ReportInstance> SetReportInstance(AspNetCore.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, OnDemandMetadata odpMetadata) { this.m_reportInstance = this.m_groupTreeScalabilityCache.AllocateAndPin(reportInstance, 0); return(this.m_reportInstance); }