Skip to content

Commit

Permalink
Rename AddOptions to ConfigureOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Oct 19, 2018
1 parent 69bc976 commit ec1751e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<PropertyGroup Label="Package">
<VersionPrefix>2.2.0</VersionPrefix>
<VersionPrefix>2.2.1</VersionPrefix>
<Authors>Muhammad Rehan Saeed (RehanSaeed.com)</Authors>
<Product>ASP.NET Core Framework Boxed</Product>
<Description>Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project.</Description>
Expand Down
2 changes: 1 addition & 1 deletion Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static class ServiceCollectionExtensions
/// <param name="services">The services collection.</param>
/// <param name="configuration">The configuration.</param>
/// <returns>The same services collection.</returns>
public static IServiceCollection AddOptions<TOptions>(
public static IServiceCollection ConfigureOptions<TOptions>(
this IServiceCollection services,
IConfiguration configuration)
where TOptions : class, new() =>
Expand Down

0 comments on commit ec1751e

Please sign in to comment.