static LiteDevelopSettings() { Default = new LiteDevelopSettings(new FilePath(Application.StartupPath, "default_settings.xml")); if (File.Exists(_settingsPath)) Instance = new LiteDevelopSettings(new FilePath(_settingsPath)); else Reset(); }
static LiteDevelopSettings() { Default = new LiteDevelopSettings(new FilePath(Application.StartupPath, "default_settings.xml")); if (File.Exists(_settingsPath)) { Instance = new LiteDevelopSettings(new FilePath(_settingsPath)); } else { Reset(); } }
public static void Reset() { LiteDevelopApplication.Current.EnsureAppDataDirectoryIsCreated(); LiteDevelopSettings.Default.CopyTo(Instance = new LiteDevelopSettings()); Instance.Save(); }