Class WeakEventManager<T>
Provides a base class for the event manager that is used in the weak event pattern. The manager adds and removes listeners for events (or callbacks) that also use the pattern.
Inheritance
Namespace: System.Windows
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class WeakEventManager<T> : WeakEventManager where T : class
Type Parameters
T
The type of the parameter. |
Constructors
WeakEventManager()
Declaration
protected WeakEventManager()
Methods
CheckForNull(Object, String)
Helper method that throw ArgumentNullException if given source is null.
Declaration
protected static void CheckForNull(object source, string argumentName)
Parameters
System.Object
source
The element that is check for null. |
System.String
argumentName
The name that should be passed to ArgumentNullException constructor. |