示例#1
0
 public JobsController(
     IJobService jobService,
     IAuthoriseJobEngine authoriseJobEngine,
     IUserService userService,
     IOneStepFileService oneStepFileService,
     IReportFileService reportFileService,
     IInputFileService inputFileService,
     IAppEnvironmentService appEnvironmentService,
     IPdfFileEngine pdfFileEngine,
     ILogger logger,
     IEnclosingJobService enclosingJobService,
     IJobStatusTypeService jobStatusTypeService,
     IFileInfoFactory fileInfoFactory)
     : base(logger, appEnvironmentService, userService)
 {
     this.jobService           = jobService;
     this.authoriseJobEngine   = authoriseJobEngine;
     this.userService          = userService;
     this.oneStepFileService   = oneStepFileService;
     this.reportFileService    = reportFileService;
     this.inputFileService     = inputFileService;
     this.pdfFileEngine        = pdfFileEngine;
     this.enclosingJobService  = enclosingJobService;
     this.jobStatusTypeService = jobStatusTypeService;
     _fileInfoFactory          = fileInfoFactory;
 }
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="reportManager"></param>
 /// <param name="reportService"></param>
 /// <param name="entityManager"></param>
 /// <param name="dxReportCreator"></param>
 /// <param name="expressionEvaluator"></param>
 /// <param name="expressionParsing"></param>
 /// <param name="fileAccessService"></param>
 public ReportsController(IReportManager reportManager, IReportFileService reportService, IEntityManager entityManager, IExpressReportCreator dxReportCreator,
                          IExpressionEvaluator expressionEvaluator, IExpressionParsing expressionParsing, FileAccessService <string> fileAccessService)
 {
     _reportManager       = reportManager;
     _reportService       = reportService;
     _entityManager       = entityManager;
     _dxReportCreator     = dxReportCreator;
     _expressionEvaluator = expressionEvaluator;
     _expressionParsing   = expressionParsing;
     _fileAccessService   = fileAccessService;
 }
示例#3
0
 public ReportFileController(IReportFileService reportFileService)
 {
     this._reportFileService = reportFileService;
 }
 public DownloadController(IReportFileService reportFileService)
 {
     this._reportFileService = reportFileService;
 }