|
static void | AddCachedSection (string definedName, T section) |
| Adds the given section to the cache using the given name. More...
|
|
static void | RemoveCachedSection (string definedName) |
| Removes the section with the given name from the cache. More...
|
|
static T | GetSection (string definedName) |
| Gets the default configuration section named 'apac' (if defined). More...
|
|
static T | GetSection (System.Configuration.Configuration config, string definedName) |
| Gets the default configuration section from the given configuration object. Note that the configuration file is re-parsed every time a section is loaded using the Configuration object. More...
|
|
|
| ConfigElement () |
| Initializes a new instance of the ConfigElement class. More...
|
|
| ConfigElement (string name, string description, bool enabled) |
| Initializes a new instance of the ConfigElement class. More...
|
|
override int | GetHashCode () |
| Returns a hash code for this instance. More...
|
|
override bool | Equals (object compareTo) |
| Determines whether the specified System.Object is equal to this instance. More...
|
|
System.Xml.Schema.XmlSchema | GetSchema () |
| This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the T:System.Xml.Serialization.XmlSchemaProviderAttribute to the class. More...
|
|
void | ReadXml (System.Xml.XmlReader reader) |
| Generates an object from its XML representation. More...
|
|
void | WriteXml (System.Xml.XmlWriter writer) |
| Converts an object into its XML representation. More...
|
|
virtual void | OnReadXml (System.Xml.XmlReader reader) |
| Called when deserializing via XML. More...
|
|
virtual void | OnWriteXml (System.Xml.XmlWriter writer) |
| Called when serializing via XML. More...
|
|
virtual bool | IsValid [get] |
| Gives a way for subclasses to determine validity. More...
|
|
string | Name [get, set] |
| Gets or sets the name property setting. More...
|
|
string | Description [get, set] |
| Gets or sets the description property setting. More...
|
|
bool | Enabled [get, set] |
| Gets or sets a value indicating whether this ConfigElement is enabled. More...
|
|
log4net.ILog | Log [get] |
| Provides a log4net.ILog instance for use by the whole class hierarchy. More...
|
|
◆ AddCachedSection()
Adds the given section to the cache using the given name.
- Parameters
-
definedName | The name of the section to be cached. |
section | The section to be added. |
◆ GetSection() [1/2]
Gets the default configuration section named 'apac' (if defined).
- Returns
- The default configuration section or
null
.
◆ GetSection() [2/2]
Gets the default configuration section from the given configuration object. Note that the configuration file is re-parsed every time a section is loaded using the Configuration object.
- Parameters
-
- Returns
- The default section or
null
.
Gets the configuration section with the given name from the given configuration object. Note that the configuration file is re-parsed every time a section is loaded using the Configuration object.
- Parameters
-
config | The Configuration object used to get the section. |
definedName | The name of the requested configuration section. |
- Returns
- The default section or
null
.
◆ RemoveCachedSection()
Removes the section with the given name from the cache.
- Parameters
-
definedName | The name of the section to be found. |
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/apac/APAC/APACCore/Configuration/Sections/ConfigSection.cs