C# Class ARCed.Settings.EditorSettings

Mostrar archivo Open project: borisblizzard/arcreator Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddToRecent ( string filename ) : void

Adds a value to the "Recently Opened" list and trims the list to the max allowed items

EditorSettings ( ) : System

Default constructor

Load ( ) : EditorSettings

Initializes a new instance the ARCed.NET settings. User defined settings are loaded so long as each file exists, else the default values will be used.

Save ( ) : void

Saves the settings files to disk in the AppData folder.

Method Details

AddToRecent() public method

Adds a value to the "Recently Opened" list and trims the list to the max allowed items
public AddToRecent ( string filename ) : void
filename string The filename to add
return void

EditorSettings() public method

Default constructor
public EditorSettings ( ) : System
return System

Load() public static method

Initializes a new instance the ARCed.NET settings. User defined settings are loaded so long as each file exists, else the default values will be used.
public static Load ( ) : EditorSettings
return EditorSettings

Save() public method

Saves the settings files to disk in the AppData folder.
public Save ( ) : void
return void