AP&C API Reference
|
Provides the basic features for in-memory objects that need to be persisted. More...
Public Member Functions | |
System.Xml.Schema.XmlSchema | GetSchema () |
This property is reserved, apply the T:System.Xml.Serialization.XmlSchemaProviderAttribute to the class instead. 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 | |
abstract void | OnReadXml (System.Xml.XmlReader reader) |
Called when deserializing via XML. More... | |
abstract void | OnWriteXml (System.Xml.XmlWriter writer) |
Called when serializing via XML. More... | |
virtual void | OnPropertyChanged (string name) |
Called when [property changed]. More... | |
Properties | |
bool | IsNew [get, set] |
Gets or sets a value indicating whether this instance is new. More... | |
bool | IsDirty [get, set] |
Gets or sets a value indicating whether this instance is dirty. More... | |
bool | IsDeleted [get, set] |
Gets or sets a value indicating whether this instance is deleted. More... | |
object | Tag [get, set] |
Gets or sets an arbitrary value that application code can use to track application specific data on an instance of this type. More... | |
Events | |
PropertyChangedEventHandler | PropertyChanged |
Occurs when a property value changes. More... | |
Provides the basic features for in-memory objects that need to be persisted.
|
inline |
This property is reserved, apply the T:System.Xml.Serialization.XmlSchemaProviderAttribute to the class instead.
|
inlineprotectedvirtual |
Called when [property changed].
name | The name. |
|
protectedpure virtual |
Called when deserializing via XML.
reader | The reader. |
Implemented in Apac.Monitoring.Threshold, Apac.Monitoring.Sensor, Apac.Monitoring.MeasurementMapping, Apac.Monitoring.ManagedElement, Apac.Monitoring.EventDef, Apac.Monitoring.Alert, Apac.Monitoring.ActionDef, and Apac.Auth.NotificationGroup.
|
protectedpure virtual |
Called when serializing via XML.
writer | The writer. |
Implemented in Apac.Monitoring.Threshold, Apac.Monitoring.Sensor, Apac.Monitoring.MeasurementMapping, Apac.Monitoring.ManagedElement, Apac.Monitoring.EventDef, Apac.Monitoring.Alert, Apac.Monitoring.ActionDef, and Apac.Auth.NotificationGroup.
|
inline |
Generates an object from its XML representation.
reader | The T:System.Xml.XmlReader stream from which the object is deserialized. |
This method delegates to subclasses through the OnReadXml method, but subclasses cannot override the basic XML this class creates, and to call back into this method would create infinite recursion.
|
inline |
Converts an object into its XML representation.
writer | The T:System.Xml.XmlWriter stream to which the object is serialized. |
This method delegates to subclasses through the OnReadXml method, but subclasses cannot override the basic XML this class creates, and to call back into this method would create infinite recursion.
|
getset |
Gets or sets a value indicating whether this instance is deleted.
true
if this instance is deleted; otherwise, false
.
|
getset |
Gets or sets a value indicating whether this instance is dirty.
true
if this instance is dirty; otherwise, false
.
|
getset |
Gets or sets a value indicating whether this instance is new.
true
if this instance is new; otherwise, false
.
|
getset |
Gets or sets an arbitrary value that application code can use to track application specific data on an instance of this type.
The tag is not cloned or explicitly serialized, but may be serialized by some providers.
PropertyChangedEventHandler Apac.Monitoring.Persistable.PropertyChanged |
Occurs when a property value changes.