C# Класс KNFoundation.KNNotificationCentre

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddObserverForNotificationName ( KNNotificationDelegate del, string notificationName ) : void
KNNotificationCentre ( ) : System
PostNotification ( KNNotification notification ) : void
PostNotificationWithName ( string name, object sender ) : void
PostNotificationWithNameAndProperties ( string name, object sender, object>.Dictionary properties ) : void
RemoveNotificationDelegate ( KNNotificationDelegate del ) : void
RemoveObserver ( object observer ) : void
SharedCentre ( ) : KNNotificationCentre

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

AddObserverForNotificationName() публичный Метод

public AddObserverForNotificationName ( KNNotificationDelegate del, string notificationName ) : void
del KNNotificationDelegate
notificationName string
Результат void

KNNotificationCentre() публичный Метод

public KNNotificationCentre ( ) : System
Результат System

PostNotification() публичный Метод

public PostNotification ( KNNotification notification ) : void
notification KNNotification
Результат void

PostNotificationWithName() публичный Метод

public PostNotificationWithName ( string name, object sender ) : void
name string
sender object
Результат void

PostNotificationWithNameAndProperties() публичный Метод

public PostNotificationWithNameAndProperties ( string name, object sender, object>.Dictionary properties ) : void
name string
sender object
properties object>.Dictionary
Результат void

RemoveNotificationDelegate() публичный Метод

public RemoveNotificationDelegate ( KNNotificationDelegate del ) : void
del KNNotificationDelegate
Результат void

RemoveObserver() публичный Метод

public RemoveObserver ( object observer ) : void
observer object
Результат void

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

public static SharedCentre ( ) : KNNotificationCentre
Результат KNNotificationCentre