1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-05 14:55:38 +01:00
GiantsTools/Giants.Services/Core/ServicesModule.cs
2020-08-07 23:53:35 -07:00

14 lines
402 B
C#

namespace Giants.Services
{
using Microsoft.Extensions.DependencyInjection;
public static class ServicesModule
{
public static void RegisterServices(IServiceCollection services)
{
services.AddSingleton<IServerRegistryService, ServerRegistryService>();
services.AddSingleton<IServerRegistryStore, InMemoryServerRegistryStore>();
}
}
}