Méthode | Description | |
---|---|---|
EventRegistry ( ) : System |
Creates a new instance of the EventRegistry class.
|
|
PublishEvents ( object source ) : void |
Adds the input object to the list of publishers. This publishes all events of the source object to any object wishing to subscribe |
|
Subscribe ( object subscriber ) : void |
Subscribes to all events published, if the subscriber implements compatible handler methods.
|
|
Subscribe ( object subscriber, |
Subscribes to published events of all objects of a given type, if the subscriber implements compatible handler methods.
|
|
Unsubscribe ( object subscriber ) : void |
Unsubscribes to all events published, if the subscriber implmenets compatible handler methods.
|
|
Unsubscribe ( object subscriber, |
Unsubscribes to the published events of all objects of a given System.Type, if the subscriber implements compatible handler methods.
|
Méthode | Description | |
---|---|---|
WireOrUnwireSubscriberToPublisher ( object currentPublisher, |
public PublishEvents ( object source ) : void | ||
source | object | The source object to publish. |
Résultat | void |
public Subscribe ( object subscriber ) : void | ||
subscriber | object | The subscriber to use. |
Résultat | void |
public Subscribe ( object subscriber, |
||
subscriber | object | The subscriber to use. |
sourceType |
/// The target |
|
Résultat | void |
public Unsubscribe ( object subscriber ) : void | ||
subscriber | object | The subscriber to use |
Résultat | void |
public Unsubscribe ( object subscriber, |
||
subscriber | object | The subscriber to use. |
sourceType | The target |
|
Résultat | void |