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.

Definition

Namespace:System.Windows

Assembly:Telerik.Windows.Controls.dll

Type Parameters:

T

The type of the parameter.

Syntax:

cs-api-definition
public abstract class WeakEventManager<T> : WeakEventManager where T : class

Inheritance: objectWeakEventManager<T>

Derived Classes: CanExecuteChangedEventManager

Constructors

WeakEventManager()

Declaration

cs-api-definition
protected WeakEventManager()

Methods

CheckForNull(object, string)

Helper method that throw ArgumentNullException if given source is null.

Declaration

cs-api-definition
protected static void CheckForNull(object source, string argumentName)

Parameters

source

object

The element that is check for null.

argumentName

string

The name that should be passed to ArgumentNullException constructor.