WeakEvent<TEventHandler, TEventArgs> Class
Provides access to a mechanism used to manage events in a way that prevents memory leaks caused by strong references between event publishers and subscribers.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
public sealed class WeakEvent<TEventHandler, TEventArgs>
Type Parameters
Name | Description |
---|---|
TEventHandler | The type of the event handler delegate used to subscribe to the event. |
TEventArgs | The type of event arguments passed to the event handler. |
Inheritance
System.Object
WeakEvent<TEventHandler, TEventArgs>
Extension Methods
See Also