/// <summary> /// Saves the settings instance to file. /// </summary> /// <param name="settingsInstance">Instance of the settings object to save to file.</param> /// <returns>Return true if the settings object was saved successfully. Returns false if it failed to save.</returns> public static bool SaveSettings(SettingsBase settingsInstance) { return(FileDatabase.SaveToFile(settingsInstance.ModuleFolderName, settingsInstance, FileDatabase.Location.Configs)); }