C# Class KNFoundation.KNNotificationCentre

Mostrar archivo Open project: bt-browser/KNFoundation Class Usage Examples

Public Methods

Method Description
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

Method Details

AddObserverForNotificationName() public method

public AddObserverForNotificationName ( KNNotificationDelegate del, string notificationName ) : void
del KNNotificationDelegate
notificationName string
return void

KNNotificationCentre() public method

public KNNotificationCentre ( ) : System
return System

PostNotification() public method

public PostNotification ( KNNotification notification ) : void
notification KNNotification
return void

PostNotificationWithName() public method

public PostNotificationWithName ( string name, object sender ) : void
name string
sender object
return void

PostNotificationWithNameAndProperties() public method

public PostNotificationWithNameAndProperties ( string name, object sender, object>.Dictionary properties ) : void
name string
sender object
properties object>.Dictionary
return void

RemoveNotificationDelegate() public method

public RemoveNotificationDelegate ( KNNotificationDelegate del ) : void
del KNNotificationDelegate
return void

RemoveObserver() public method

public RemoveObserver ( object observer ) : void
observer object
return void

SharedCentre() public static method

public static SharedCentre ( ) : KNNotificationCentre
return KNNotificationCentre