示例#1
0
        /// <summary>
        /// Constructs and maps based on a custom Steam Store Web API URL
        /// </summary>
        /// <param name="steamStoreApiBaseUrl">Steam Store Web API URL</param>
        public SteamStoreInterface(string steamStoreApiBaseUrl)
        {
            this.steamStoreRequest = new SteamStoreRequest(steamStoreApiBaseUrl);

            AutoMapperConfiguration.Initialize();
        }
示例#2
0
        /// <summary>
        /// Constructs and maps based on a custom http client
        /// </summary>
        /// <param name="httpClient">Client to make requests with</param>
        public SteamStoreInterface(HttpClient httpClient)
        {
            this.steamStoreRequest = new SteamStoreRequest(steamStoreApiBaseUrl, httpClient);

            AutoMapperConfiguration.Initialize();
        }