mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
19 lines
556 B
C#
19 lines
556 B
C#
using System.Net.Http;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Wabbajack.DTOs.JsonConverters;
|
|
using Wabbajack.Networking.WabbajackClientApi;
|
|
|
|
namespace Wabbajack.DTOs.Test;
|
|
|
|
public class Startup
|
|
{
|
|
public void ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddDTOConverters();
|
|
services.AddDTOSerializer();
|
|
services.AddWabbajackClient();
|
|
services.AddSingleton(new ParallelOptions {MaxDegreeOfParallelism = 2});
|
|
services.AddSingleton<HttpClient>();
|
|
}
|
|
} |