EventObserver Members

EventObserver is designed to help manage event handlers by detatching when disposed. Creating this object will also attach in the constructor.

The following tables list the members exposed by the EventObserver type.

Public Constructors

  Name Description
EventObserver Creates an instance of EventObserver and attaches to the supplied event on the supplied target. Call dispose to detach.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Dispose Detaches the handler from the event.
public method Equals  Overloaded. (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public methodstatic ReferenceEquals  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

EventObserver Class
System.Windows.Interactivity Namespace