Summary
Unsubscribes from an event.
- Namespace
- Avalonia
.Utilities - Containing Type
- Weak
Subscription Manager
Syntax
public static void Unsubscribe<T>(object target, string eventName, IWeakSubscriber<T> subscriber)
where T : EventArgs
Type Parameters
Name | Description |
---|---|
T | The type of the event arguments. |
Parameters
Name | Type | Description |
---|---|---|
target | object | The event source. |
eventName | string | The name of the event. |
subscriber | IWeakSubscriber |
The subscriber. |
Return Value
Type | Description |
---|---|
void |