Click or drag to resize

EventGuardT Class

Inheritance Hierarchy
SystemObject
  WhetStone.GuardGuardT
    WhetStone.GuardEventGuardT

Namespace:  WhetStone.Guard
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public class EventGuard<T> : Guard<T>

Type Parameters

T
The type of the inner element.

The EventGuardT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Overrides GuardTClone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides GuardTToString.)
Top
Events
  NameDescription
Public eventAccessed
is called whenever the value is accessed, first parameter dictates whether the value was accessed from get or set ("get","set")
Public eventChanged
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
Public eventDrawn
is called whenever the value is looked at, has no parameters
Top
Remarks
For any event to be fired upon access, the value must be retrieved through the EventValue property.
See Also