/// <summary> /// Constructs and maps based on a custom Steam Partner Web API URL /// </summary> /// <param name="steamPartnerApiBaseUrl">Steam Partner Web API URL</param> public SteamPartnerInterface(string steamPartnerApiBaseUrl) { steamPartnerRequest = new SteamPartnerRequest(steamPartnerApiBaseUrl); }
/// <summary> /// Constructs and maps based on a custom http client and custom Steam Partner Web API URL /// </summary> /// <param name="steamPartnerApiBaseUrl">Steam Partner Web API URL</param> /// <param name="httpClient">Client to make requests with</param> public SteamPartnerInterface(string steamPartnerApiBaseUrl, HttpClient httpClient) { steamPartnerRequest = new SteamPartnerRequest(steamPartnerApiBaseUrl, httpClient); }
/// <summary> /// Constructs and maps based on a custom http client /// </summary> /// <param name="httpClient">Client to make requests with</param> public SteamPartnerInterface(IMapper mapper, HttpClient httpClient) { this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); steamPartnerRequest = new SteamPartnerRequest(steamPartnerApiBaseUrl, httpClient); }