WeakSubscriptionManager.

Unsubscribe<T>(object, string, IWeakSubscriber<T>) Method

Summary

Unsubscribes from an event.
Namespace
Avalonia.Utilities
Containing Type
WeakSubscriptionManager

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<T> The subscriber.

Return Value

Type Description
void