Class ConfigObject
- Namespace
- Dassie.Configuration
- Assembly
- dc.dll
Represents an XML-backed configuration object.
public abstract class ConfigObject
- Inheritance
-
ConfigObject
- Derived
- Inherited Members
- Extension Methods
Constructors
ConfigObject()
Initializes a new instance of the ConfigObject type backed by an empty PropertyStore.
protected ConfigObject()
ConfigObject(PropertyStore)
Initializes a new instance of the ConfigObject type backed by the specified PropertyStore.
protected ConfigObject(PropertyStore store)
Parameters
storePropertyStore
Properties
Node
Generates an XML node representing this configuration object.
public virtual XNode Node { get; }
Property Value
Methods
Get<T>(string)
Evaluates a property of the configuration object.
protected T Get<T>(string name)
Parameters
namestringThe name of the property to evaluate.
Returns
- T
The value of the specified property.
Type Parameters
TThe type of the property to evaluate.
Set(string, object)
Sets the specified property.
protected void Set(string name, object value)