コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
        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);
        }
コード例 #4
0
 public SnapshotImageCacheManager(OnDemandMetadata odpMetadata, IChunkFactory chunkFactory)
     : base(odpMetadata, chunkFactory)
 {
 }
コード例 #5
0
 public ImageCacheManager(OnDemandMetadata odpMetadata, IChunkFactory chunkFactory)
 {
     this.m_odpMetadata  = odpMetadata;
     this.m_chunkFactory = chunkFactory;
 }
コード例 #6
0
 public StreamingImageCacheManager(OnDemandMetadata odpMetadata, IChunkFactory chunkFactory)
     : base(odpMetadata, chunkFactory)
 {
 }
コード例 #7
0
 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);
 }