EventGuardT Class |
Namespace: WhetStone.Guard
The EventGuardT type exposes the following members.
| Name | Description | |
|---|---|---|
| EventGuardT |
Constructor.
|
| Name | Description | |
|---|---|---|
| EventValue |
Accesses the value, and triggers the relevant events
| |
| value |
The internal value of the IGuardT (Inherited from GuardT.) |
| Name | Description | |
|---|---|---|
| Clone | Creates a new object that is a copy of the current instance. (Overrides GuardTClone.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Overrides GuardTToString.) |
| Name | Description | |
|---|---|---|
| Accessed |
is called whenever the value is accessed, first parameter dictates whether the value was accessed from get or set ("get","set")
| |
| Changed |
is called when the direct value is changed, first parameter([0]) is the new value, second parameter ([1]) is the old value, third is whether the value is equal to the old value
| |
| Drawn |
is called whenever the value is looked at, has no parameters
|