WeakEventHandlerTEventArgs(EventHandlerTEventArgs, Type, String) Constructor |
Namespace: AltaxoAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public WeakEventHandler(
EventHandler<TEventArgs> handler,
Type eventSourceType,
string eventName
)
Parameters
- handler EventHandlerTEventArgs
- 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:
StaticClass.Changed += new WeakActionHandler(this.EhHandleChange, typeof(StaticClass), nameof(StaticClass.Changed));
See Also