/// <summary>
 /// Get the instance of StatusRiotApi.
 /// </summary>
 /// <param name="apiKey">The api key.</param>
 /// <returns>The instance of StatusRiotApi.</returns>
 public static StatusRiotApi GetInstance(string apiKey)
 {
     if (instance == null)
     {
         instance = new StatusRiotApi(apiKey);
     }
     return(instance);
 }
Beispiel #2
0
 /// <summary>
 /// Get the instance of StatusRiotApi.
 /// </summary>
 /// <returns>The instance of StatusRiotApi.</returns>
 public static StatusRiotApi GetInstance()
 {
     return(instance ?? (instance = new StatusRiotApi()));
 }
Beispiel #3
0
 /// <summary>
 /// Get the instance of StatusRiotApi.
 /// </summary>
 /// <returns>The instance of StatusRiotApi.</returns>
 public static StatusRiotApi GetInstance()
 {
     return instance ?? (instance = new StatusRiotApi());
 }
Beispiel #4
0
 /// <summary>
 /// Get the instance of StatusRiotApi.
 /// </summary>
 /// <returns>The instance of StatusRiotApi.</returns>
 public static StatusRiotApi GetInstance()
 {
     // TODO merge ssl per endpoint commit
     throw new Exception("Not possible through HTTPS");
     return(instance ?? (instance = new StatusRiotApi()));
 }