public Watcher(string logsPath, ICsLogsApi parsers, IBaseRepository logRepository, ILogFileRepository logFileRepository) { this.logsPath = logsPath; this.parsers = parsers; this.logRepository = logRepository; this.logFileRepository = logFileRepository; }
public Reader(string path, ICsLogsApi parsers, IBaseRepository logRepository, ILogFileRepository logFileRepository) { this.path = path; this.parsers = parsers; this.logRepository = logRepository; this.logFileRepository = logFileRepository; }
public Reader(string path, ICsLogsApi parsers, IBaseRepository logRepository, ILogFileRepository logFileRepository, IProgress <string> progress) { this.path = path; this.parsers = parsers; this.logRepository = logRepository; this.logFileRepository = logFileRepository; _progress = progress; _cacheService = new PlayersCacheService(); var connectionString = new ConnectionStringFactory(); var mongoRepository = new MongoRepositoryFactory(connectionString); _logger = new Logger(mongoRepository); }