The CogPropertyWatcher type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
If nonzero, indicates that the raising of the Changed event has been
suspended. This value is incremented when SuspendChangedEvent is called
and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.) | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| IsConnected |
Indicates if this property watcher is currently connected to a valid
property.
| |
| IsDisposed |
Indicates if Dispose has been called on this instance.
| |
| OptimizeIneffectiveChanges |
Determines if this property watcher will optimize out any attempts to
set Value to its current value.
| |
| Path |
Gets or sets the path to the property or sub-property being watched.
| |
| PropertyDescriptor |
Gets the property descriptor of this property.
| |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.) | |
| Subject |
Gets or sets the object whose property or sub-property is being watched.
| |
| Value |
Gets or sets the value of the property.
|
See Also