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