/// <summary>
 /// Assigns the given SigningInstance to all services that can utilize it.  Note that some of the services do not currently use the signature method.
 /// </summary>
 /// <param name="signingInstance"></param>
 public static void AssignAllServices(GoogleSigned signingInstance)
 {
     S_universalSigningInstance = signingInstance;
 }
Exemple #2
0
 public MapsHttp(GoogleSigned signingSvc)
 {
     this.signingSvc = signingSvc;
     this.client     = new HttpClient();
 }
        public ElevationService(GoogleSigned signingSvc = null, Uri baseUri = null)
        {
            this.baseUri = baseUri ?? HttpsUri;

            this.http = new MapsHttp(signingSvc ?? GoogleSigned.SigningInstance);
        }