wabbajack/Wabbajack.Downloaders.Bethesda/ServiceExtensions.cs
2022-02-10 22:05:51 -07:00

13 lines
435 B
C#

using Microsoft.Extensions.DependencyInjection;
using Wabbajack.Downloaders.Interfaces;
using Wabbajack.DTOs;
namespace Wabbajack.Downloaders.Bethesda;
public static class ServiceExtensions
{
public static IServiceCollection AddBethesdaDownloader(this IServiceCollection services)
{
return services.AddAllSingleton<IDownloader, IDownloader<DTOs.DownloadStates.Bethesda>, IUrlDownloader, BethesdaDownloader>();
}
}