コード例 #1
0
 public static ReportRuntimeSetup GetDefault()
 {
     if (ReportRuntimeSetup.DefaultRuntimeSetup == null)
     {
         ReportRuntimeSetup.DefaultRuntimeSetup = new ReportRuntimeSetup(null, null, false, false);
     }
     return(ReportRuntimeSetup.DefaultRuntimeSetup);
 }
コード例 #2
0
 public RenderingContext(ICatalogItemContext reportContext, string reportDescription, EventInformation eventInfo, ReportRuntimeSetup reportRuntimeSetup, ReportProcessing.StoreServerParameters storeServerParameters, UserProfileState allowUserProfileState, PaginationMode clientPaginationMode, int previousTotalPages)
 {
     Global.Tracer.Assert(null != reportContext, "(null != reportContext)");
     this.m_reportContext         = reportContext;
     this.m_reportDescription     = reportDescription;
     this.m_eventInfo             = eventInfo;
     this.m_storeServerParameters = storeServerParameters;
     this.m_allowUserProfileState = allowUserProfileState;
     this.m_reportRuntimeSetup    = reportRuntimeSetup;
     this.m_clientPaginationMode  = clientPaginationMode;
     this.m_previousTotalPages    = previousTotalPages;
 }
コード例 #3
0
 public DataSetContext(string targetChunkNameInSnapshot, string cachedDataChunkName, bool mustCreateDataChunk, IRowConsumer consumerRequest, ICatalogItemContext itemContext, RuntimeDataSourceInfoCollection dataSources, string requestUserName, DateTime executionTimeStamp, ParameterInfoCollection parameters, IChunkFactory createChunkFactory, ReportProcessing.ExecutionType interactiveExecution, CultureInfo culture, UserProfileState allowUserProfileState, UserProfileState initialUserProfileState, IProcessingDataExtensionConnection createDataExtensionInstanceFunction, CreateAndRegisterStream createStreamCallbackForScalability, ReportRuntimeSetup dataSetRuntimeSetup, IJobContext jobContext, IDataProtection dataProtection)
 {
     this.m_targetChunkNameInSnapshot = targetChunkNameInSnapshot;
     this.m_cachedDataChunkName       = cachedDataChunkName;
     this.m_mustCreateDataChunk       = mustCreateDataChunk;
     this.m_consumerRequest           = consumerRequest;
     this.m_itemContext          = itemContext;
     this.m_dataSources          = dataSources;
     this.m_requestUserName      = requestUserName;
     this.m_executionTimeStamp   = executionTimeStamp;
     this.m_parameters           = parameters;
     this.m_createChunkFactory   = createChunkFactory;
     this.m_interactiveExecution = interactiveExecution;
     this.m_culture = culture;
     this.m_allowUserProfileState               = allowUserProfileState;
     this.m_initialUserProfileState             = initialUserProfileState;
     this.m_createDataExtensionInstanceFunction = createDataExtensionInstanceFunction;
     this.m_createStreamCallbackForScalability  = createStreamCallbackForScalability;
     this.m_dataSetRuntimeSetup = dataSetRuntimeSetup;
     this.m_jobContext          = jobContext;
     this.m_dataProtection      = dataProtection;
 }
コード例 #4
0
 public ReportRuntimeSetup(ReportRuntimeSetup originalSetup, AppDomain newAppDomain)
     : this(newAppDomain, originalSetup.m_exprHostEvidence, originalSetup.m_restrictCodeModulesInCurrentAppDomain, originalSetup.m_requireExpressionHostWithRefusedPermissions)
 {
     if (originalSetup.m_currentAppDomainTrustedCodeModules != null)
     {
         StringEnumerator enumerator = originalSetup.m_currentAppDomainTrustedCodeModules.GetEnumerator();
         try
         {
             while (enumerator.MoveNext())
             {
                 string current = enumerator.Current;
                 this.AddTrustedCodeModuleInCurrentAppDomain(current);
             }
         }
         finally
         {
             IDisposable disposable = enumerator as IDisposable;
             if (disposable != null)
             {
                 disposable.Dispose();
             }
         }
     }
 }
コード例 #5
0
        public ProcessingContext(ICatalogItemContext reportContext, string requestUserName, ParameterInfoCollection parameters, ReportProcessing.OnDemandSubReportCallback subReportCallback, IGetResource getResourceFunction, IChunkFactory createChunkFactory, ReportProcessing.ExecutionType interactiveExecution, CultureInfo culture, UserProfileState allowUserProfileState, UserProfileState initialUserProfileState, ReportRuntimeSetup reportRuntimeSetup, CreateAndRegisterStream createStreamCallback, bool isHistorySnapshot, IJobContext jobContext, IExtensionFactory extFactory, IDataProtection dataProtection)
        {
            Global.Tracer.Assert(null != reportContext, "(null != reportContext)");
            this.m_reportContext           = reportContext;
            this.m_requestUserName         = requestUserName;
            this.m_parameters              = parameters;
            this.m_queryParameters         = this.m_parameters.GetQueryParameters();
            this.m_subReportCallback       = subReportCallback;
            this.m_getResourceFunction     = getResourceFunction;
            this.m_chunkFactory            = createChunkFactory;
            this.m_interactiveExecution    = interactiveExecution;
            this.m_userLanguage            = culture;
            this.m_allowUserProfileState   = allowUserProfileState;
            this.m_initialUserProfileState = initialUserProfileState;
            this.m_reportRuntimeSetup      = reportRuntimeSetup;
            this.m_createStreamCallback    = createStreamCallback;
            this.m_isHistorySnapshot       = isHistorySnapshot;
            ChunkFactoryAdapter @object = new ChunkFactoryAdapter(this.m_chunkFactory);

            this.m_createReportChunkCallback = @object.CreateReportChunk;
            this.m_jobContext     = jobContext;
            this.m_extFactory     = extFactory;
            this.m_dataProtection = dataProtection;
        }
コード例 #6
0
 public ReportProcessingContext(ICatalogItemContext reportContext, string requestUserName, ParameterInfoCollection parameters, RuntimeDataSourceInfoCollection dataSources, RuntimeDataSetInfoCollection sharedDataSetReferences, ReportProcessing.OnDemandSubReportCallback subReportCallback, IGetResource getResourceFunction, IChunkFactory createChunkFactory, ReportProcessing.ExecutionType interactiveExecution, CultureInfo culture, UserProfileState allowUserProfileState, UserProfileState initialUserProfileState, IProcessingDataExtensionConnection createDataExtensionInstanceFunction, ReportRuntimeSetup reportRuntimeSetup, CreateAndRegisterStream createStreamCallback, bool isHistorySnapshot, IJobContext jobContext, IExtensionFactory extFactory, IDataProtection dataProtection, ISharedDataSet dataSetExecute)
     : base(reportContext, requestUserName, parameters, subReportCallback, getResourceFunction, createChunkFactory, interactiveExecution, culture, allowUserProfileState, initialUserProfileState, reportRuntimeSetup, createStreamCallback, isHistorySnapshot, jobContext, extFactory, dataProtection)
 {
     this.m_dataSources                         = dataSources;
     this.m_sharedDataSetReferences             = sharedDataSetReferences;
     this.m_createDataExtensionInstanceFunction = createDataExtensionInstanceFunction;
     this.m_dataSetExecute                      = dataSetExecute;
 }