public MetricsStateLoaderMigration( IStateLoaderMigration stateLoaderMigration, IClaptrapIdentity identity) { _stateLoaderMigration = stateLoaderMigration; _identity = identity; }
public AutoMigrationStateLoader( IStateLoader stateLoader, IStateLoaderMigration stateLoaderMigration) { _stateLoader = stateLoader; _migrated = new Lazy <Task>(stateLoaderMigration.MigrateAsync); }