/// <summary> /// Creates a new history db. /// </summary> public HistoryDb(IHistoryDbImpl db) { _db = db ?? throw new ArgumentNullException(nameof(db)); }
/// <summary> /// Creates a new history db. /// </summary> public HistoryDb(IHistoryDbImpl db) { _db = db; }
/// <summary> /// Creates a history db from a history db implementation. /// </summary> public static IHistoryDb CreateHistoryDb(this IHistoryDbImpl dbImpl) { return(new HistoryDb(dbImpl)); }