Move IConfigurationService from CoreStartup to ClientStartup
This commit is contained in:
parent
9388dcbcc5
commit
c38549a17e
@ -34,6 +34,7 @@ public class ClientStartup : IStartup
|
||||
services.AddSingleton<EventConnection>();
|
||||
services.AddSingleton(typeof(IEventService), typeof(EventService));
|
||||
services.AddSingleton(typeof(IRemoteProviderService), typeof(RemoteProviderService));
|
||||
services.AddSingleton(typeof(IConfigurationService), typeof(ConfigurationService));
|
||||
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
@ -16,7 +16,6 @@ public sealed class CoreStartup : IStartup
|
||||
public async Task ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton(typeof(IHttpService), typeof(HttpService));
|
||||
services.AddSingleton(typeof(IConfigurationService), typeof(ConfigurationService));
|
||||
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user