AvalonEdit
AddListener Method (source, listener)
NamespacesICSharpCode.AvalonEdit.UtilsWeakEventManagerBase<(Of <(<'TManager, TEventSource>)>)>AddListener(TEventSource, IWeakEventListener)
Adds a weak event listener.
Declaration Syntax
C#Visual BasicVisual C++
public static void AddListener(
	TEventSource source,
	IWeakEventListener listener
)
Public Shared Sub AddListener ( _
	source As TEventSource, _
	listener As IWeakEventListener _
)
public:
static void AddListener(
	TEventSource source, 
	IWeakEventListener^ listener
)
Parameters
source (TEventSource)
listener (IWeakEventListener)

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238