diff --git a/Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj b/Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj index 5e1c8cdd..880ad325 100644 --- a/Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj +++ b/Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj @@ -9,7 +9,7 @@ - 2.2.0 + 2.2.1 Muhammad Rehan Saeed (RehanSaeed.com) ASP.NET Core Framework Boxed Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project. diff --git a/Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs b/Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs index 9d07a492..c175fa0e 100644 --- a/Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs +++ b/Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs @@ -67,7 +67,7 @@ public static IServiceCollection AddIfElse( /// The services collection. /// The configuration. /// The same services collection. - public static IServiceCollection AddOptions( + public static IServiceCollection ConfigureOptions( this IServiceCollection services, IConfiguration configuration) where TOptions : class, new() =>