Esempio n. 1
0
 protected OnDemandProcessingResult(IChunkFactory createChunkFactory, bool hasDocumentMap, bool hasInteractivity, ParameterInfoCollection parameters, int autoRefresh, int numberOfPages, ProcessingMessageList warnings, bool eventInfoChanged, EventInformation newEventInfo, PaginationMode updatedPaginationMode, ReportProcessingFlags updatedProcessingFlags, UserProfileState usedUserProfileState, ExecutionLogContext executionLogContext)
 {
     this.m_createChunkFactory           = createChunkFactory;
     this.m_hasDocumentMap               = hasDocumentMap;
     this.m_numberOfPages                = numberOfPages;
     this.m_hasInteractivity             = hasInteractivity;
     this.m_parameters                   = parameters;
     this.m_autoRefresh                  = autoRefresh;
     this.m_warnings                     = warnings;
     this.m_eventInfoChanged             = eventInfoChanged;
     this.m_newEventInfo                 = newEventInfo;
     this.m_parameters                   = parameters;
     this.m_updatedPaginationMode        = updatedPaginationMode;
     this.m_updatedReportProcessingFlags = updatedProcessingFlags;
     this.m_usedUserProfileState         = usedUserProfileState;
     this.m_executionLogContext          = executionLogContext;
 }
Esempio n. 2
0
 public PublishingResult(string reportDescription, string reportLanguage, ParameterInfoCollection parameters, DataSourceInfoCollection dataSources, DataSetInfoCollection sharedDataSetReferences, ProcessingMessageList warnings, UserLocationFlags userReferenceLocation, double pageHeight, double pageWidth, double topMargin, double bottomMargin, double leftMargin, double rightMargin, ArrayList dataSetsName, bool hasExternalImages, bool hasHyperlinks, ReportProcessingFlags reportProcessingFlags, byte[] dataSetsHash)
 {
     this.m_reportDescription     = reportDescription;
     this.m_reportLanguage        = reportLanguage;
     this.m_parameters            = parameters;
     this.m_dataSources           = dataSources;
     this.m_sharedDataSets        = sharedDataSetReferences;
     this.m_warnings              = warnings;
     this.m_userReferenceLocation = userReferenceLocation;
     this.m_hasExternalImages     = hasExternalImages;
     this.m_hasHyperlinks         = hasHyperlinks;
     this.m_reportProcessingFlags = reportProcessingFlags;
     this.m_dataSetsHash          = dataSetsHash;
     this.m_pageProperties        = new PageProperties(pageHeight, pageWidth, topMargin, bottomMargin, leftMargin, rightMargin);
     if (dataSetsName != null && dataSetsName.Count > 0)
     {
         this.m_dataSetsName = (string[])dataSetsName.ToArray(typeof(string));
     }
 }
Esempio n. 3
0
 protected PublishingContextBase(PublishingContextKind publishingContextKind, ICatalogItemContext catalogContext, IChunkFactory createChunkFactory, AppDomain compilationTempAppDomain, bool generateExpressionHostWithRefusedPermissions, ReportProcessingFlags processingFlags, AspNetCore.ReportingServices.ReportProcessing.ReportProcessing.CheckSharedDataSource checkDataSourceCallback, AspNetCore.ReportingServices.ReportProcessing.ReportProcessing.ResolveTemporaryDataSource resolveTemporaryDataSourceCallback, DataSourceInfoCollection originalDataSources, AspNetCore.ReportingServices.ReportProcessing.ReportProcessing.CheckSharedDataSet checkDataSetCallback, AspNetCore.ReportingServices.ReportProcessing.ReportProcessing.ResolveTemporaryDataSet resolveTemporaryDataSetCallback, DataSetInfoCollection originalDataSets, IConfiguration configuration, IDataProtection dataProtection, bool isInternalRepublish, bool isPackagedReportArchive, bool isRdlx, bool traceAtomicScopes)
 {
     this.m_publishingContextKind    = publishingContextKind;
     this.m_catalogContext           = catalogContext;
     this.m_createChunkFactory       = createChunkFactory;
     this.m_compilationTempAppDomain = compilationTempAppDomain;
     this.m_generateExpressionHostWithRefusedPermissions = generateExpressionHostWithRefusedPermissions;
     this.m_processingFlags                    = processingFlags;
     this.m_checkDataSourceCallback            = checkDataSourceCallback;
     this.m_checkDataSetCallback               = checkDataSetCallback;
     this.m_resolveTemporaryDataSourceCallback = resolveTemporaryDataSourceCallback;
     this.m_resolveTemporaryDataSetCallback    = resolveTemporaryDataSetCallback;
     this.m_originalDataSources                = originalDataSources;
     this.m_originalDataSets                   = originalDataSets;
     this.m_configuration           = configuration;
     this.m_dataProtection          = dataProtection;
     this.m_isInternalRepublish     = isInternalRepublish;
     this.m_traceAtomicScopes       = traceAtomicScopes;
     this.m_isPackagedReportArchive = isPackagedReportArchive;
     this.m_isRdlx = isRdlx;
     this.m_publishingVersioning = new PublishingVersioning(this.m_configuration, this);
 }
Esempio n. 4
0
 public StreamingOnDemandProcessingResult(AspNetCore.ReportingServices.ReportIntermediateFormat.ReportSnapshot newOdpSnapshot, AspNetCore.ReportingServices.ReportIntermediateFormat.Persistence.ChunkManager.OnDemandProcessingManager chunkManager, bool newOdpSnapshotChanged, IChunkFactory createChunkFactory, ParameterInfoCollection parameters, int autoRefresh, int numberOfPages, ProcessingMessageList warnings, bool eventInfoChanged, EventInformation newEventInfo, PaginationMode updatedPaginationMode, ReportProcessingFlags updatedProcessingFlags, UserProfileState usedUserProfileState, ExecutionLogContext executionLogContext)
     : base(createChunkFactory, newOdpSnapshot.DefinitionTreeHasDocumentMap, newOdpSnapshot.HasShowHide || newOdpSnapshot.HasUserSortFilter, parameters, autoRefresh, numberOfPages, warnings, eventInfoChanged, newEventInfo, updatedPaginationMode, updatedProcessingFlags, usedUserProfileState, executionLogContext)
 {
 }
 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(bool renderingInfoChanged, IChunkFactory createChunkFactory, bool hasInteractivity, RenderingInfoManager renderingInfoManager, bool eventInfoChanged, EventInformation newEventInfo, ParameterInfoCollection parameters, ProcessingMessageList warnings, int autoRefresh, int numberOfPages, PaginationMode updatedPaginationMode, ReportProcessingFlags updatedProcessingFlags, UserProfileState usedUserProfileState, ExecutionLogContext executionLogContext)
     : base(createChunkFactory, false, hasInteractivity, parameters, autoRefresh, numberOfPages, warnings, eventInfoChanged, newEventInfo, updatedPaginationMode, updatedProcessingFlags, usedUserProfileState, executionLogContext)
 {
     this.m_snapshotChanged = this.Initialize(null, null, renderingInfoChanged, renderingInfoManager);
 }
 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);
 }
Esempio n. 8
0
 public PublishingContext(ICatalogItemContext catalogContext, byte[] reportDefinition, IChunkFactory createChunkFactory, AppDomain compilationTempAppDomain, bool generateExpressionHostWithRefusedPermissions, ReportProcessingFlags processingFlags, ReportProcessing.CheckSharedDataSource checkDataSourceCallback, ReportProcessing.ResolveTemporaryDataSource resolveTemporaryDataSourceCallback, DataSourceInfoCollection originalDataSources, ReportProcessing.CheckSharedDataSet checkDataSetCallback, ReportProcessing.ResolveTemporaryDataSet resolveTemporaryDataSetCallback, DataSetInfoCollection originalDataSets, IConfiguration configuration, IDataProtection dataProtection, bool isInternalRepublish, bool isPackagedReportArchive, bool isRdlx)
     : base(PublishingContextKind.Full, catalogContext, createChunkFactory, compilationTempAppDomain, generateExpressionHostWithRefusedPermissions, processingFlags, checkDataSourceCallback, resolveTemporaryDataSourceCallback, originalDataSources, checkDataSetCallback, resolveTemporaryDataSetCallback, originalDataSets, configuration, dataProtection, isInternalRepublish, isPackagedReportArchive, isRdlx, traceAtomicScopes : false)
 {
     m_definition = reportDefinition;
 }
Esempio n. 9
0
 public PublishingContext(ICatalogItemContext catalogContext, byte[] reportDefinition, IChunkFactory createChunkFactory, AppDomain compilationTempAppDomain, bool generateExpressionHostWithRefusedPermissions, ReportProcessingFlags processingFlags, IConfiguration configuration, IDataProtection dataProtection)
     : this(catalogContext, reportDefinition, createChunkFactory, compilationTempAppDomain, generateExpressionHostWithRefusedPermissions, processingFlags, null, null, null, null, null, null, configuration, dataProtection, isInternalRepublish : false, isPackagedReportArchive : false, isRdlx : false)
 {
 }
Esempio n. 10
0
 private ReportPublishingException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     m_processingFlags = (ReportProcessingFlags)info.GetValue("ReportProcessingFlags", typeof(ReportProcessingFlags));
 }
Esempio n. 11
0
 public ReportPublishingException(ProcessingMessageList messages, Exception innerException, ReportProcessingFlags processingFlags)
     : base(messages, innerException)
 {
     m_processingFlags = processingFlags;
 }
 public bool NeedsUpgrade(ReportProcessingFlags processingFlags)
 {
     return(false);
 }
Esempio n. 13
0
 public ReportPublishingException(ProcessingMessageList messages, ReportProcessingFlags processingFlags)
     : base(messages)
 {
     this.m_processingFlags = processingFlags;
 }