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