Table of Contents

Class WeakEventHandler<T>

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Provides methods for creating WeakEvent handlers.

public class WeakEventHandler<T> : IWeakEventHandler where T : class

Type Parameters

T

The type of the event source.

Inheritance
WeakEventHandler<T>
Implements

Constructors

WeakEventHandler(EventHandler, UnregisterCallback)

Constructs a new WeakEventHandler.

Properties

Handler

Get an event handler.

Methods

Invoke(object, EventArgs)

Invokes the event handler if the source is still alive.

Operators

implicit operator EventHandler(WeakEventHandler<T>)