wabbajack/Wabbajack.Networking.NexusApi/ServiceExtensions.cs

13 lines
340 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using Microsoft.Extensions.DependencyInjection;
namespace Wabbajack.Networking.NexusApi
{
public static class ServiceExtensions
{
public static void AddNexusApi(this IServiceCollection services)
{
services.AddSingleton<NexusApi>();
services.AddSingleton<ProxiedNexusApi>();
}
}
}