Table of Contents

Class Settings

Namespace
FrameOfReference.Presentation.Config
Assembly
FrameOfReference.Presentation.dll

Stores settings for the application

public sealed class Settings : SettingsBase
Inheritance
object
Settings
Inherited Members

Properties

Current

The currently active set of settings

public static Settings Current { get; }

Property Value

Settings

Methods

Config()

Displays a configuration interface for the settings, allowing easy manipulation of values

public void Config()

EnableAutoSave()

Configures Current settings to be automatically saved when they are changed.

public static void EnableAutoSave()

LoadCurrent()

Loads the current settings from an automatically located XML file

[LuaGlobal(Name = "LoadSettings", Description = "Loads the current settings from an automatically located XML file")]
public static Settings LoadCurrent()

Returns

Settings

Remarks

Any errors are logged and then ignored.

SaveCurrent()

Saves the current settings to an automatically located XML file

[LuaGlobal(Name = "SaveSettings", Description = "Saves the current settings to an automatically located XML file")]
public static void SaveCurrent()

Remarks

Any errors are logged and then ignored.