Méthode | Description | |
---|---|---|
AddObserver ( string notificationName, System action ) : void | ||
AddObserver ( string notificationName, System |
Adds an observer to listen to specified by notification name
|
|
PostEvent ( string notificationName ) : void |
Posts an event specified by name that does not require any parameters. Observers associated with this event will be called.
|
|
PostEvent ( string notificationName, Parameters, parameters ) : void |
Posts an event specified by name that requires parameters. Observers associated with this event will be called. Requires the parameters class to be passed.
|
|
PrintObservers ( ) : void | ||
RemoveActionAtObserver ( string notificationName, System action ) : void |
Removes the action at observer specified by notification name
|
|
RemoveActionAtObserver ( string notificationName, System |
Removes the action at observer specified by notification name
|
|
RemoveAllObservers ( ) : void |
Removes all observers.
|
|
RemoveObserver ( string notificationName ) : void |
Removes all observers under the specified notification name
|
Méthode | Description | |
---|---|---|
EventBroadcaster ( ) : System.Collections |
public AddObserver ( string notificationName, System action ) : void | ||
notificationName | string | |
action | System | |
Résultat | void |
public AddObserver ( string notificationName, System |
||
notificationName | string | |
action | System |
|
Résultat | void |
public PostEvent ( string notificationName ) : void | ||
notificationName | string | |
Résultat | void |
public PostEvent ( string notificationName, Parameters, parameters ) : void | ||
notificationName | string | |
parameters | Parameters, | |
Résultat | void |
public RemoveActionAtObserver ( string notificationName, System action ) : void | ||
notificationName | string | Notification name. |
action | System | Action. |
Résultat | void |
public RemoveActionAtObserver ( string notificationName, System |
||
notificationName | string | Notification name. |
action | System |
Action. |
Résultat | void |
public RemoveObserver ( string notificationName ) : void | ||
notificationName | string | Notification name. |
Résultat | void |