Skip to content

Commit 38a37ff

Browse files
committed
Rename ConfigureOptions to ConfigureSingleton
1 parent ec1751e commit 38a37ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup Label="Package">
12-
<VersionPrefix>2.2.1</VersionPrefix>
12+
<VersionPrefix>2.2.2</VersionPrefix>
1313
<Authors>Muhammad Rehan Saeed (RehanSaeed.com)</Authors>
1414
<Product>ASP.NET Core Framework Boxed</Product>
1515
<Description>Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project.</Description>

Source/Boxed.AspNetCore/ServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Boxed.AspNetCore
1+
namespace Boxed.AspNetCore
22
{
33
using System;
44
using Microsoft.Extensions.Configuration;
@@ -67,7 +67,7 @@ public static IServiceCollection AddIfElse(
6767
/// <param name="services">The services collection.</param>
6868
/// <param name="configuration">The configuration.</param>
6969
/// <returns>The same services collection.</returns>
70-
public static IServiceCollection ConfigureOptions<TOptions>(
70+
public static IServiceCollection ConfigureSingleton<TOptions>(
7171
this IServiceCollection services,
7272
IConfiguration configuration)
7373
where TOptions : class, new() =>

0 commit comments

Comments
 (0)