Example #1
0
 public ReportController(IRenderWordUseCase wordUsecase,
                         IRenderAsWordThenPdfUseCase pdfUsecase,
                         IOptions <DemoOptions> options)
 {
     _wordUsecase = wordUsecase;
     _pdfUsecase  = pdfUsecase;
     _options     = options.Value;
 }
 public ReportController(IRenderAsWordThenPdfUseCase pdfUseCase,
                         IRenderWordUseCase wordUseCase,
                         IConsolePresenter presenter)
 {
     _pdfUseCase  = pdfUseCase;
     _wordUseCase = wordUseCase;
     _presenter   = presenter;
 }
Example #3
0
 public ReportController(IRenderAsWordThenPdfUseCase usecase,
                         IConsolePresenter presenter)
 {
     _usecase   = usecase;
     _presenter = presenter;
 }