Click or drag to resize

WeakEventHandlerTEventArgs(EventHandlerTEventArgs, Object, String) Constructor

Initializes a new instance of the WeakEventHandler class.

Namespace: Altaxo
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public WeakEventHandler(
	EventHandler<TEventArgs> handler,
	Object eventSource,
	string eventName
)

Parameters

handler  EventHandlerTEventArgs
The event handler method (the event sink).
eventSource  Object
The object that holds the event source.
eventName  String
The name of the event.
Remarks
Typcical usage:
C#
source.Changed += new WeakEventHandler<MyEventArgs>(this.EhHandleChange, source, nameof(source.Changed));
See Also