mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-15 14:19:29 +00:00
Fix for ClientWebSocketResolver (#48)
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<Version>1.3</Version>
|
<Version>1.3.1</Version>
|
||||||
<Authors>Alexandru Macocian</Authors>
|
<Authors>Alexandru Macocian</Authors>
|
||||||
<RepositoryUrl>https://github.com/AlexMacocian/SystemExtensions</RepositoryUrl>
|
<RepositoryUrl>https://github.com/AlexMacocian/SystemExtensions</RepositoryUrl>
|
||||||
<Description>Extensions for the Slim Dependency Injection engine</Description>
|
<Description>Extensions for the Slim Dependency Injection engine</Description>
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
using Slim.Resolvers;
|
||||||
|
|
||||||
namespace System.Net.WebSockets;
|
namespace System.Net.WebSockets;
|
||||||
public sealed class ClientWebSocketResolver
|
public sealed class ClientWebSocketResolver : IDependencyResolver
|
||||||
{
|
{
|
||||||
private static readonly Type ClientType = typeof(ClientWebSocket<>);
|
private static readonly Type ClientType = typeof(ClientWebSocket<>);
|
||||||
private static readonly Type LoggerType = typeof(ILogger<>);
|
private static readonly Type LoggerType = typeof(ILogger<>);
|
||||||
|
|||||||
Reference in New Issue
Block a user