IWeakSubscriber<T> Interface

Summary

Defines a listener to a event subscribed vis the WeakSubscriptionManager.
graph BT Type["IWeakSubscriber<T>"] class Type type-node Implementing0["AboutAvaloniaDialog"]-.->Type click Implementing0 "/api/Avalonia.Dialogs/AboutAvaloniaDialog" Implementing1["TopLevel"]-.->Type click Implementing1 "/api/Avalonia.Controls/TopLevel" Implementing2["ReactiveWindow<TViewModel>"]-.->Type click Implementing2 "/api/Avalonia.ReactiveUI/ReactiveWindow_1" Implementing3["EmbeddableControlRoot"]-.->Type click Implementing3 "/api/Avalonia.Controls.Embedding/EmbeddableControlRoot" Implementing4["PopupRoot"]-.->Type click Implementing4 "/api/Avalonia.Controls.Primitives/PopupRoot" Implementing5["Window"]-.->Type click Implementing5 "/api/Avalonia.Controls/Window" Implementing6["WindowBase"]-.->Type click Implementing6 "/api/Avalonia.Controls/WindowBase"

Syntax

public interface IWeakSubscriber<T> where T : EventArgs

Type Parameters

Name Description
T The type of the event arguments.

Methods

Name Value Summary
OnEvent(object, T) void
Invoked when the subscribed event is raised.