Click or drag to resize

WeakActionHandlerT1(ActionT1, 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<T1> handler,
	Type eventSourceType,
	string eventName
)

Parameters

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