AP&C API Reference
|
Implements a non-declarative configuration element base class for use in all configuration elements. More...
Public Member Functions | |
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... | |
Protected Member Functions | |
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... | |
Properties | |
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... | |
Implements a non-declarative configuration element base class for use in all configuration elements.
|
inline |
Initializes a new instance of the ConfigElement class.
|
inline |
Initializes a new instance of the ConfigElement class.
name | The name. |
description | The description. |
enabled | The enabled flag. |
|
inline |
Determines whether the specified System.Object is equal to this instance.
compareTo | The System.Object to compare with this instance. |
true
if the specified System.Object is equal to this instance; otherwise, false
.
|
inline |
Returns a hash code for this instance.
|
inline |
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.
|
inlineprotectedvirtual |
Called when deserializing via XML.
reader | The reader. |
Reimplemented in Apac.TcTec.Top16.Configuration.Top16BoardConfig, Apac.TcTec.Top16.Configuration.Top16DIOControllerConfig, Apac.PassiveHaus.PassiveHausConfig, Apac.Ecop.DataManagerConfig, Apac.Configuration.UdpNodeControllerConfig, Apac.Configuration.SupervisorConfig, Apac.Configuration.SupervisableConfig, Apac.Configuration.SerialModbusControllerConfig, Apac.Configuration.SerialControllerConfig, Apac.Configuration.ReportGeneratorConfig, Apac.Configuration.PostProcessorConfig, Apac.Configuration.MockDeviceConfig, Apac.Configuration.MockControllerConfig, Apac.Configuration.HttpTargetConfig, Apac.Configuration.HttpControllerConfig, Apac.Configuration.ExecutiveSupervisorConfig, Apac.Configuration.DataStoreConfig, Apac.Configuration.ControllerSupervisorConfig, Apac.Configuration.ControllerConfig, Apac.Configuration.CompilerConfig, Apac.Management.OutboundPublicIpReportConfig, Apac.Dlp.Configuration.DlpBoardConfig, Apac.Dlp.Configuration.DlpControllerConfig, Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig, and Apac.Dallas.OneWire.Configuration.OneWireControllerConfig.
|
inlineprotectedvirtual |
Called when serializing via XML.
writer | The writer. |
Reimplemented in Apac.TcTec.Top16.Configuration.Top16BoardConfig, Apac.TcTec.Top16.Configuration.Top16DIOControllerConfig, Apac.PassiveHaus.PassiveHausConfig, Apac.Ecop.DataManagerConfig, Apac.Configuration.UdpNodeControllerConfig, Apac.Configuration.SupervisorConfig, Apac.Configuration.SupervisableConfig, Apac.Configuration.SerialModbusControllerConfig, Apac.Configuration.SerialControllerConfig, Apac.Configuration.ReportGeneratorConfig, Apac.Configuration.PostProcessorConfig, Apac.Configuration.MockDeviceConfig, Apac.Configuration.MockControllerConfig, Apac.Configuration.HttpTargetConfig, Apac.Configuration.HttpControllerConfig, Apac.Configuration.ExecutiveSupervisorConfig, Apac.Configuration.DataStoreConfig, Apac.Configuration.ControllerSupervisorConfig, Apac.Configuration.ControllerConfig, Apac.Configuration.CompilerConfig, Apac.Management.OutboundPublicIpReportConfig, Apac.Dlp.Configuration.DlpBoardConfig, Apac.Dlp.Configuration.DlpControllerConfig, Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig, and Apac.Dallas.OneWire.Configuration.OneWireControllerConfig.
|
inline |
Generates an object from its XML representation.
reader | The T:System.Xml.XmlReader stream from which the object is deserialized. |
|
inline |
Converts an object into its XML representation.
writer | The T:System.Xml.XmlWriter stream to which the object is serialized. |
|
getset |
Gets or sets the description property setting.
|
getset |
Gets or sets a value indicating whether this ConfigElement is enabled.
true
if enabled; otherwise, false
.
|
get |
Gives a way for subclasses to determine validity.
|
getprotected |
Provides a log4net.ILog instance for use by the whole class hierarchy.
This property is initialized lazily; upon the first access the LogManager will be used to get the logger.
|
getset |
Gets or sets the name property setting.