예제 #1
0
        public SqLiteLogger(ISqliteDataProvider provider)
        {
            if (provider == null)
            {
                throw new ArgumentNullException("SqliteDataProvider");
            }

            this.provider = provider;
        }
예제 #2
0
 public CommandFactory(IReportGenerator reporter,
                       ILogger logger,
                       IReader reader,
                       IWriter writer,
                       IPostgresDataProvider pgDp,
                       ISqlServerDataProvider sqlDp,
                       ISqliteDataProvider sqliteDp,
                       IModelsFactory modelsFactory,
                       ITicketModelsFactory ticketFactory,
                       IExcelImporter excelImporter)
 {
     this.pgDp          = pgDp;
     this.sqlDp         = sqlDp;
     this.sqliteDp      = sqliteDp;
     this.reader        = reader;
     this.writer        = writer;
     this.logger        = logger;
     this.reporter      = reporter;
     this.modelsFactory = modelsFactory;
     this.ticketFactory = ticketFactory;
     this.excelImporter = excelImporter;
 }
예제 #3
0
 public ShowLogsCommand(ISqliteDataProvider sqliteDP, IWriter writer)
 {
     this.dp     = sqliteDP;
     this.writer = writer;
 }