Click or drag to resize

WeakActionHandlerT1, T2, T3(ActionT1, T2, T3, Object, String) Constructor

Initializes a new instance of the WeakActionHandler class.

Namespace: Altaxo
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public WeakActionHandler(
	Action<T1, T2, T3> handler,
	Object eventSource,
	string eventName
)

Parameters

handler  ActionT1, T2, T3
The event handler method (the event sink).
eventSource  Object
The object that holds the event source.
eventName  String
The name of the event.
Remarks
Typical usage:
C#
source.Changed += new WeakActionHandler<MyClass1, MyClass2, MyClass3>(this.EhHandleChange, source, nameof(source.Changed));
See Also