Skip to content

Commit

Permalink
Rename ConfigureOptions to ConfigureSingleton
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Oct 22, 2018
1 parent ec1751e commit 38a37ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.1</VersionPrefix>
<VersionPrefix>2.2.2</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
4 changes: 2 additions & 2 deletions Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Boxed.AspNetCore
namespace Boxed.AspNetCore
{
using System;
using Microsoft.Extensions.Configuration;
Expand Down Expand Up @@ -67,7 +67,7 @@ public static IServiceCollection AddIfElse(
/// <param name="services">The services collection.</param>
/// <param name="configuration">The configuration.</param>
/// <returns>The same services collection.</returns>
public static IServiceCollection ConfigureOptions<TOptions>(
public static IServiceCollection ConfigureSingleton<TOptions>(
this IServiceCollection services,
IConfiguration configuration)
where TOptions : class, new() =>
Expand Down

0 comments on commit 38a37ff

Please sign in to comment.