rdt-client/server/RdtClient.Service/DiConfig.cs
2020-04-05 14:40:01 -06:00

17 lines
No EOL
536 B
C#

using Microsoft.Extensions.DependencyInjection;
using RdtClient.Service.Services;
namespace RdtClient.Service
{
public static class DiConfig
{
public static void Config(IServiceCollection services)
{
services.AddScoped<IAuthentication, Authentication>();
services.AddScoped<IDownloads, Downloads>();
services.AddScoped<IScheduler, Scheduler>();
services.AddScoped<ISettings, Settings>();
services.AddScoped<ITorrents, Torrents>();
}
}
}