Click or drag to resize

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

Parameters

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