[This is preliminary documentation and is subject to change.]

Settings manager.

Namespace:  Phoenix.Configuration
Assembly:  PhoenixShared (in PhoenixShared.dll) Version: 0.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public class Settings : ISettings
Public Class Settings _
	Implements ISettings
public ref class Settings : ISettings

Members

               
 All Members  Constructors   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Settings()()()
Initilalizes new target of object.
Settings(String)
Initilalizes new target of object.
AttributeExists(String, array<Object>[]()[])
Returns True if specified attribute exists.
Clone()()()
CopyElement(array<Object>[]()[], array<Object>[]()[], array<AttributeInfo>[]()[])
Copies and changes specified element to another path.
ElementExists(array<Object>[]()[])
Returns True if specified element exists.
EnumarateElements(array<Object>[]()[])
Enumaretes elements at specified path.
GetAttribute(Boolean, String, array<Object>[]()[])
Reads attribute at specified path.
GetAttribute(Int32, String, array<Object>[]()[])
Reads attribute at specified path.
GetAttribute(Single, String, array<Object>[]()[])
Reads attribute at specified path.
GetAttribute(String, String, array<Object>[]()[])
Reads attribute at specified path.
GetElement(Boolean, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetElement(Int32, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetElement(Single, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetElement(String, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
GetEnumAttribute<(Of <(T>)>)(T, String, array<Object>[]()[])
Reads attribute at specified path.
GetEnumElement<(Of <(T>)>)(T, array<Object>[]()[])
Reads element at specified path. Element is created if not exist.
Load()()()
Loads settings from XML file.
Loaded
Raised after settings were loaded.
Path
Gets or sets path, where is file saved and load from. Value is automaticly converted into fullpath.
RemoveAttribute(String, array<Object>[]()[])
Removes attribute from specified element if exists.
RemoveElement(array<Object>[]()[])
Removes specified element and all it's children if exists.
Save()()()
Saves settings as XML file.
Saving
Raised before settings are saved to file.
SetAttribute(Object, String, array<Object>[]()[])
Writes attribute to specified node.
SetElement(Object, array<Object>[]()[])
Writes element at specified path.

Inheritance Hierarchy

See Also