/// <summary>
 /// Get client instance
 /// </summary>
 /// <returns></returns>
 public static RaasClient GetClient()
 {
     lock (clientSync)
     {
         if (client == null)
         {
             client = new RaasClient();
         }
         return(client);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get client instance
 /// </summary>
 /// <returns></returns>
 public static RaasClient GetClient()
 {
     lock (clientSync)
     {
         if (client == null)
         {
             client = new RaasClient(platformKey: Environment.GetEnvironmentVariable("TANGO_PLATFORM_KEY"));
         }
         return(client);
     }
 }