WeakActionHandlerT1, T2(ActionT1, T2, Object, String) Constructor |
Namespace: AltaxoAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public WeakActionHandler(
Action<T1, T2> handler,
Object eventSource,
string eventName
)
Parameters
- handler ActionT1, T2
- 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:
source.Changed += new WeakActionHandler<MyClass1, MyClass2>(this.EhHandleChange, source, nameof(source.Changed));
See Also