Export (0) Print
Expand All

WeakEventManager Methods

(see also Protected Methods )
  Name Description
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Top

  Name Description
Protected method DeliverEvent Delivers the event being managed to each listener.
Protected method DeliverEventToList Delivers the event being managed to each listener in the provided list.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Static GetCurrentManager Returns the WeakEventManager implementation that is used for the provided type.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method ProtectedAddListener Adds the provided listener to the provided source for the event being managed.
Protected method ProtectedRemoveListener Removes a previously added listener from the provided source.
Protected method Purge Removes inactive listener entries from the data list for the provided source. Returns true if some entries were actually removed from the list.
Protected method Remove Removes all listeners for the given source.
Protected method ScheduleCleanup Requests that a purge of unused entries in the underlying listener list be performed on a lower priority thread.
Protected method Static SetCurrentManager Sets the current manager for the given manager type.
Protected method StartListening When overridden in a derived class, starts listening for the event being managed. After StartListening is first called, the manager should be in the state of calling DeliverEvent or DeliverEventToList whenever the relevant event from the provided source is handled.
Protected method StopListening When overridden in a derived class, stops listening on the provided source for the event being managed.
Top

Community Additions

ADD
Show:
© 2014 Microsoft