public MigrationSeedFactory(IServiceProvider serviceProvider, IMigrationSeedsConfiguration seedsConfiguration) { _serviceProvider = serviceProvider; _seedsConfiguration = seedsConfiguration; }
public MigrationSeedFactory(IServiceProvider serviceProvider, IMigrationSeedsConfiguration seedsConfiguration) { _serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); _seedsConfiguration = seedsConfiguration ?? throw new ArgumentNullException(nameof(seedsConfiguration)); }