diff --git a/Dummy/Dummy.csproj b/Dummy/Dummy.csproj index 3d88139..e96ef24 100644 --- a/Dummy/Dummy.csproj +++ b/Dummy/Dummy.csproj @@ -39,8 +39,10 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + + + \ No newline at end of file diff --git a/Dummy/NetTransports/NullTransportConnection.cs b/Dummy/NetTransports/NullTransportConnection.cs index 22648e1..5ff77ae 100644 --- a/Dummy/NetTransports/NullTransportConnection.cs +++ b/Dummy/NetTransports/NullTransportConnection.cs @@ -40,7 +40,7 @@ public bool TryGetPort(out ushort port) public IPAddress GetAddress() { - return new IPAddress(0); + return null; } public string GetAddressString(bool withPort) diff --git a/Dummy/ServiceConfigurator.cs b/Dummy/ServiceConfigurator.cs index ca0873b..e60c282 100644 --- a/Dummy/ServiceConfigurator.cs +++ b/Dummy/ServiceConfigurator.cs @@ -12,8 +12,6 @@ public class ServiceConfigurator : IServiceConfigurator { public void ConfigureServices(IOpenModServiceConfigurationContext openModStartupContext, IServiceCollection serviceCollection) { - serviceCollection.AddSingleton(); - serviceCollection.Configure(options => options.AddUserProvider()); serviceCollection.Configure(options => {