Click or drag to resize

WeakEventHandler(EventHandler, 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 handler,
	Type eventSourceType,
	string eventName
)

Parameters

handler  EventHandler
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