Click or drag to resize

WeakEventHandlerTEventArgs(EventHandlerTEventArgs, Type, String) Constructor

Initializes a new instance of the WeakActionHandler class for a static event.

Namespace: Altaxo
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public WeakEventHandler(
	EventHandler<TEventArgs> handler,
	Type eventSourceType,
	string eventName
)

Parameters

handler  EventHandlerTEventArgs
The event handler method (the event sink).
eventSourceType  Type
The type of object that holds the static event.
eventName  String
The name of the static event.
Remarks
Typical usage:
C#
StaticClass.Changed += new WeakActionHandler(this.EhHandleChange, typeof(StaticClass), nameof(StaticClass.Changed));
See Also