public Library(string machineName, SqliteConnection connection, ServerCaller caller, ILogger logger, IClock clock) { MachineName = machineName; _caller = caller; _logger = logger; _repo = new SQLiteEventRepository(connection, logger); _eventFactory = new LibraryItemEventFactory(clock, MachineName); RebuildItems(); }
public Library(string machineName, SqliteConnection connection, ServerCaller caller, ILogger logger) : this(machineName, connection, caller, logger, new Clock()) { }
public Library(SqliteConnection connection, ServerCaller caller, ILogger logger) : this(Environment.MachineName, connection, caller, logger, new Clock()) { }