Example #1
0
 public static XiamiClient GetDefault()
 {
     if (_inst == null)
     {
         _inst = new XiamiClient();
         _inst.isLoggedIn = File.Exists(Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "access_token"));
     }
     return _inst;
 }
Example #2
0
 public static XiamiClient GetDefault()
 {
     if (_inst == null)
     {
         _inst            = new XiamiClient();
         _inst.isLoggedIn = File.Exists(Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "access_token"));
     }
     return(_inst);
 }