Skip to content

Commit 9963c20

Browse files
committed
Fixes #24
1 parent e0c95f1 commit 9963c20

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using Microsoft.Extensions.DependencyInjection;
2-
3-
namespace Blazor.Extensions.Storage
4-
{
5-
public static class StorageExtensions
6-
{
7-
public static IServiceCollection AddStorage(this IServiceCollection services)
8-
{
9-
return services.AddSingleton<SessionStorage>()
10-
.AddSingleton<LocalStorage>();
11-
}
12-
}
13-
}
1+
using Microsoft.Extensions.DependencyInjection;
2+
3+
namespace Blazor.Extensions.Storage
4+
{
5+
public static class StorageExtensions
6+
{
7+
public static IServiceCollection AddStorage(this IServiceCollection services)
8+
{
9+
return services.AddScoped<SessionStorage>()
10+
.AddScoped<LocalStorage>();
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)