Пример #1
0
        private HttpRequestMessage BuildWebRequest(
            string type,
            string value)
        {
            var url = string.Format(ServiceUrl, type, value);

            if (BusinessKey != null)
            {
                url = BusinessKey.GenerateSignature(url);
            }

            return(new HttpRequestMessage(
                       HttpMethod.Get,
                       url));
        }
Пример #2
0
 public Geocoder(
     BusinessKey businessKey) : this()
 {
     BusinessKey = businessKey;
 }