DelegateWeakEventManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Weak Delegate event manager that allows for garbage collection when the EventHandler is still subscribed
public class DelegateWeakEventManager
- Inheritance
-
System.ObjectDelegateWeakEventManager
Constructors
| DelegateWeakEventManager() |
Methods
| AddEventHandler(Delegate, String) |
Adds the event handler |
| HandleEvent(Object, Object, String) |
Invokes the event EventHandler |
| HandleEvent(String) |
Invokes the event Action |
| RaiseEvent(Object, Object, String) |
Invokes the event EventHandler |
| RaiseEvent(String) |
Invokes the event Action |
| RemoveEventHandler(Delegate, String) |
Removes the event handler. |