public PromptReportParameterService(
     IReportServerFolder reportServerFolder,
     IReportExecutionService reportExecutionService,
     IPromptReportNameParser promptReportNameParser)
 {
     _reportServerFolder = reportServerFolder;
     _reportExecutionService = reportExecutionService;
     _promptReportNameParser = promptReportNameParser;
 }
예제 #2
0
 public PromptReportParameterService(
     IReportServerFolder reportServerFolder,
     IReportExecutionService reportExecutionService,
     IPromptReportNameParser promptReportNameParser)
 {
     _reportServerFolder     = reportServerFolder;
     _reportExecutionService = reportExecutionService;
     _promptReportNameParser = promptReportNameParser;
 }
예제 #3
0
 private void OnCredentialsChanged(IReportServerCredentials credentials)
 {
     if (credentials != null)
     {
         m_serverIdentity = credentials.ImpersonationUser;
     }
     else
     {
         m_serverIdentity = null;
     }
     m_serverCredentials = credentials;
     m_service           = null;
     ClearSession();
 }
예제 #4
0
 public ReportViewModel(
     CatalogItemInfo catalogItemInfo
     , ObservableCollection <PromptSelectionInfo> selectionInfos
     , IReportExecutionService reportExecutionService
     , string serverName)
 {
     _serverName = serverName;
     _url        = string.Empty;
     reportExecutionService.Render(
         catalogItemInfo,
         selectionInfos,
         OnRender,
         OnError);
     State = ViewModelState.Loading;
 }
예제 #5
0
 public ReportViewModel(
     CatalogItemInfo catalogItemInfo
     , ObservableCollection<PromptSelectionInfo> selectionInfos
     , IReportExecutionService reportExecutionService
     , string serverName)
 {
     _serverName = serverName;
     _url = string.Empty;
     reportExecutionService.Render(
         catalogItemInfo,
         selectionInfos,
         OnRender,
         OnError);
     State = ViewModelState.Loading;
 }
예제 #6
0
 public ReportViewModelBuilder(string serverName, IReportExecutionService reportExecutionService)
 {
     _reportExecutionService = reportExecutionService;
     _serverName = serverName;
 }
예제 #7
0
 public BaseReportParameterService(IReportExecutionService reportExecutionService)
 {
     _reportExecutionService = reportExecutionService;
 }
예제 #8
0
 public ReportViewModelBuilder(string serverName, IReportExecutionService reportExecutionService)
 {
     _reportExecutionService = reportExecutionService;
     _serverName             = serverName;
 }
예제 #9
0
 private void ApplyExecutionIdToService(IReportExecutionService service)
 {
     service?.SetExecutionId(m_executionID);
 }
예제 #10
0
 protected virtual IReportViewModelBuilder CreateReportViewModelBuilder(
     string serverName,
     IReportExecutionService reportExecutionService)
 {
     return(new ReportViewModelBuilder(serverName, reportExecutionService));
 }
예제 #11
0
 public BaseReportParameterService(IReportExecutionService reportExecutionService)
 {
     _reportExecutionService = reportExecutionService;
 }
예제 #12
0
 protected virtual IReportViewModelBuilder CreateReportViewModelBuilder(
     string serverName, 
     IReportExecutionService reportExecutionService)
 {
     return new ReportViewModelBuilder(serverName, reportExecutionService);
 }