WeakEventHandlerManager Class

Summary

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

Syntax

public static class WeakEventHandlerManager

Methods

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