private static AppSettings Settings(bool forceReload = false) { if (_settings == null || forceReload) { if (!SettingsFile.Exists("appsettings.json")) { _settings = new AppSettings(); _settings.ForceInterval = 100; SaveSettings(); } else { _settings = AppSettings.FromJson(SettingsFile.LoadJson("appsettings.json")); } } return(_settings); }