Beispiel #1
0
 public MongoMigrationStartupFilter(IServiceScopeFactory serviceScopeFactory, ILoggerFactory loggerFactory)
 {
     _migration = serviceScopeFactory.CreateScope().ServiceProvider.GetService <IMongoMigration>();
     _logger    = loggerFactory.CreateLogger <MongoMigrationStartupFilter>();
 }