16 lines
422 B
C#
16 lines
422 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using RdtClient.Data.Data;
|
|
|
|
namespace RdtClient.Data
|
|
{
|
|
public static class DiConfig
|
|
{
|
|
public static void Config(IServiceCollection services)
|
|
{
|
|
services.AddScoped<DownloadData>();
|
|
services.AddScoped<SettingData>();
|
|
services.AddScoped<TorrentData>();
|
|
services.AddScoped<UserData>();
|
|
}
|
|
}
|
|
}
|