16 lines
476 B
C#
16 lines
476 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<IDownloadData, DownloadData>();
|
|
services.AddScoped<ISettingData, SettingData>();
|
|
services.AddScoped<ITorrentData, TorrentData>();
|
|
services.AddScoped<IUserData, UserData>();
|
|
}
|
|
}
|
|
}
|