C# Класс Gu.Wpf.ValidationScope.ErrorsChangedEventManager

Manager for the INotifyErrorsChanged.ErrorsChanged event. Inspired by: http://referencesource.microsoft.com/#WindowsBase/Base/System/Collections/Specialized/CollectionChangedEventManager.cs,7537b339109a7418
Наследование: System.Windows.WeakEventManager
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ErrorsChangedEventManager System

Открытые методы

Метод Описание
AddHandler ( INotifyErrorsChanged source, EventHandler handler ) : void

Add a handler for the given source's event.

AddListener ( INotifyErrorsChanged source, IWeakEventListener listener ) : void

Add a listener to the given source's event.

RemoveHandler ( INotifyErrorsChanged source, EventHandler handler ) : void

Remove a handler for the given source's event.

RemoveListener ( INotifyErrorsChanged source, IWeakEventListener listener ) : void

Remove a listener to the given source's event.

Защищенные методы

Метод Описание
NewListenerList ( ) : ListenerList
StartListening ( object source ) : void
StopListening ( object source ) : void

Приватные методы

Метод Описание
ErrorsChangedEventManager ( ) : System

Описание методов

AddHandler() публичный статический Метод

Add a handler for the given source's event.
public static AddHandler ( INotifyErrorsChanged source, EventHandler handler ) : void
source INotifyErrorsChanged
handler EventHandler
Результат void

AddListener() публичный статический Метод

Add a listener to the given source's event.
public static AddListener ( INotifyErrorsChanged source, IWeakEventListener listener ) : void
source INotifyErrorsChanged
listener IWeakEventListener
Результат void

NewListenerList() защищенный Метод

protected NewListenerList ( ) : ListenerList
Результат ListenerList

RemoveHandler() публичный статический Метод

Remove a handler for the given source's event.
public static RemoveHandler ( INotifyErrorsChanged source, EventHandler handler ) : void
source INotifyErrorsChanged
handler EventHandler
Результат void

RemoveListener() публичный статический Метод

Remove a listener to the given source's event.
public static RemoveListener ( INotifyErrorsChanged source, IWeakEventListener listener ) : void
source INotifyErrorsChanged
listener IWeakEventListener
Результат void

StartListening() защищенный Метод

protected StartListening ( object source ) : void
source object
Результат void

StopListening() защищенный Метод

protected StopListening ( object source ) : void
source object
Результат void