Beispiel #1
0
 public MigrationService(DocumentVersionSerializer serializer, IMigrationInterceptorProvider provider,
                         IStartUpDocumentMigrationRunner startUpDocumentMigrationRunner, IStartUpDatabaseMigrationRunner startUpDatabaseMigrationRunner)
     : this(serializer, provider, NullLoggerFactory.Instance)
 {
     _startUpDocumentMigrationRunner = startUpDocumentMigrationRunner;
     _startUpDatabaseMigrationRunner = startUpDatabaseMigrationRunner;
 }
 private MigrationService(
     DocumentVersionSerializer serializer,
     IMigrationInterceptorProvider provider,
     ILoggerFactory loggerFactory)
 {
     _serializer = serializer;
     _provider   = provider;
     _logger     = loggerFactory.CreateLogger <MigrationService>();
 }
 public MigrationService(DocumentVersionSerializer serializer, IMigrationInterceptorProvider provider,
                         ICollectionMigrationRunner migrationRunner)
     : this(serializer, provider, NullLoggerFactory.Instance)
 {
     _migrationRunner = migrationRunner;
 }