Beispiel #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));
        }
Beispiel #2
0
 public Geocoder(
     BusinessKey businessKey) : this()
 {
     BusinessKey = businessKey;
 }