WeakSubscriptionManager Class

Summary

Manages subscriptions to events using weak listeners.
Namespace
Avalonia.Utilities
Base Types
  • object
graph BT Type-->Base0["object"] Type["WeakSubscriptionManager"] class Type type-node

Syntax

public static class WeakSubscriptionManager

Methods

Name Value Summary
Subscribe<TTarget, TEventArgs>(TTarget, string, IWeakSubscriber<TEventArgs>) void
Subscribes to an event on an object using a weak subscription.
static
Unsubscribe<T>(object, string, IWeakSubscriber<T>) void
Unsubscribes from an event.
static