public static AppSettingsProvider GetInstance() { if (instance == null) { instance = new AppSettingsProvider(); } return(instance); }
public void LoadSettings() { try { if (File.Exists(path)) { instance = JSONService <AppSettingsProvider> .Deserialize(path).Result; } } catch { } }