public Program(ILogger logger, IExcelFileDeleter excelFileDeleter,
     IExcelFileGenerator excelFileGenerator, IPracticeProfilesExcelFileGenerator practiceProfilesExcelFileGenerator)
 {
     _logger = logger;
     _excelFileDeleter = excelFileDeleter;
     _excelFileGenerator = excelFileGenerator;
     _practiceProfilesExcelFileGenerator = practiceProfilesExcelFileGenerator;
 }
示例#2
0
        public ExcelReportsFromMySqlProvider(IExcelFileGenerator excelGenerator, IMySqlDatabaseContext context)
        {
            if (excelGenerator == null)
            {
                throw new ArgumentNullException(nameof(excelGenerator));
            }

            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            this.excelGenerator = excelGenerator;
            this.context        = context;
        }
示例#3
0
 public ExcelController(IExcelFileGenerator excelFileGenerator)
 {
     _excelFileGenerator = excelFileGenerator;
 }