示例#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;
 }
示例#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);
 }