Skip to content

Commit

Permalink
feat: update AddServices
Browse files Browse the repository at this point in the history
  • Loading branch information
doddgu committed Sep 8, 2021
1 parent 4ab9db8 commit eeab0f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public static class ServiceCollectionExtensions
/// </summary>
/// <param name="services"></param>
/// <param name="suffix">default is Service</param>
public static IServiceCollection AddServices(this IServiceCollection services, string suffix = "Service", bool autoFire = false)
public static IServiceCollection AddServices(this IServiceCollection services, string suffix, bool autoFire)
{
Assembly
.GetCallingAssembly()
Expand All @@ -25,7 +25,7 @@ public static IServiceCollection AddServices(this IServiceCollection services, s
/// </summary>
/// <param name="services"></param>
/// <param name="suffix">default is Service</param>
public static IServiceCollection AddServices<TService>(this IServiceCollection services, bool autoFire = false)
public static IServiceCollection AddServices<TService>(this IServiceCollection services, bool autoFire)
{
var serviceType = typeof(TService);

Expand Down

0 comments on commit eeab0f2

Please sign in to comment.