예제 #1
0
 public static ITelimena Construct(ITelimenaStartupInfo startupInfo)
 {
     try
     {
         Telimena instance = new Telimena(startupInfo);
         return(instance);
     }
     catch
     {
         return(GetNullObjectTeli(startupInfo));
     }
 }
예제 #2
0
 public static ITelimena Construct(ITelimenaStartupInfo startupInfo)
 {
     try
     {
         if (startupInfo.TelemetryApiBaseUrl != null)
         {
             Telimena instance = new Telimena(startupInfo);
             return(instance);
         }
         else
         {
             throw new TelimenaException("Error - Telimena URL is not specified. Telimena will not work. See logs for details.");
         }
     }
     catch
     {
         return(GetNullObjectTeli(startupInfo));
     }
 }
예제 #3
0
 /// <summary>
 /// New instance
 /// </summary>
 /// <param name="telimena"></param>
 public UpdatesModule(Telimena telimena)
 {
     this.telimena = telimena;
 }