public Client(string baseUrl, HttpClient httpClient) { DisunityClient = new DisunityClient(baseUrl, httpClient); ModListClient = new ModListClient(baseUrl, httpClient); ModPublishingClient = new ModPublishingClient(baseUrl, httpClient); OrgMemberClient = new OrgMemberClient(baseUrl, httpClient); TargetClient = new TargetClient(baseUrl, httpClient); UploadClient = new UploadClient(baseUrl, httpClient); }
public ApiClient(IConfiguration config, HttpClient httpClient) { HttpClient = httpClient; DisunityClient = new DisunityClient(config, httpClient); ModListClient = new ModListClient(config, httpClient); ModPublishingClient = new ModPublishingClient(config, httpClient); OrgMemberClient = new OrgMemberClient(config, httpClient); TargetClient = new TargetClient(config, httpClient); UploadClient = new UploadClient(config, httpClient); }