File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/CodeOfChaos.Types.DataSeeder Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,21 @@ public static IServiceCollection AddOneTimeDataSeeder<TDataSeeder>(this IService
1919 where TDataSeeder : class , IDataSeederService , IHostedService
2020 => services . AddHostedService ( implementationFactory ) ;
2121
22- public static IServiceCollection AddOneTimeDataSeeder < TDataSeeder > ( this IServiceCollection services , Action < TDataSeeder > configure )
22+ public static IServiceCollection AddOneTimeDataSeeder < TDataSeeder > ( this IServiceCollection services , Action < TDataSeeder > configureSeeder )
2323 where TDataSeeder : class , IDataSeederService , IHostedService {
2424
2525 services . TryAddEnumerable (
2626 ServiceDescriptor . Singleton < IHostedService , TDataSeeder > ( provider
2727 => {
2828 var seeder = ActivatorUtilities . CreateInstance < TDataSeeder > ( provider ) ;
29- configure ( seeder ) ;
29+ configureSeeder ( seeder ) ;
3030 return seeder ;
3131 }
3232 )
3333 ) ;
3434 return services ;
3535 }
3636
37- public static IServiceCollection AddOneTimeDataSeeder ( this IServiceCollection services , Action < OneTimeDataSeederService > configure )
38- => AddOneTimeDataSeeder < OneTimeDataSeederService > ( services , configure ) ;
37+ public static IServiceCollection AddOneTimeDataSeeder ( this IServiceCollection services , Action < OneTimeDataSeederService > configureSeeder )
38+ => AddOneTimeDataSeeder < OneTimeDataSeederService > ( services , configureSeeder ) ;
3939}
You can’t perform that action at this time.
0 commit comments