public MigratedTransactionalStore(IAsyncStoreMigrator migrator, ITransactionalStore store) : base(migrator, store) { Contracts.Requires.That(store != null); this.store = store; }
public MigratedAsyncStore(IAsyncStoreMigrator migrator, IAsyncStore store) { Contracts.Requires.That(migrator != null); Contracts.Requires.That(store != null); this.store = store; this.Initialization = migrator.MigrateAsync(); }