C# Class Drey.Configuration.EventBus

Inheritance: IEventBus
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Свойство Type Description
HandlerResultProcessing object>.Action

Méthodes publiques

Méthode Description
Publish ( object message ) : void

Publishes a message to all subscribers.

Publish ( object message, object token ) : void

Publishes a message to all subscribers, with an ability to filter which subscribers receive the message by the token value.

Subscribe ( object subscriber ) : void

Subscribes the subscriber to the bus, to listen for events.

Subscribe ( object subscriber, object token ) : void

Subscribes the subscriber to the bus, to start listening for messages, with a token for filtering.

Unsubscribe ( object subscriber ) : void

Unsubscribes the specified subscriber.

Method Details

Publish() public méthode

Publishes a message to all subscribers.
public Publish ( object message ) : void
message object The message.
Résultat void

Publish() public méthode

Publishes a message to all subscribers, with an ability to filter which subscribers receive the message by the token value.
message
public Publish ( object message, object token ) : void
message object The message.
token object The token.
Résultat void

Subscribe() public méthode

Subscribes the subscriber to the bus, to listen for events.
public Subscribe ( object subscriber ) : void
subscriber object The subscriber.
Résultat void

Subscribe() public méthode

Subscribes the subscriber to the bus, to start listening for messages, with a token for filtering.
subscriber
public Subscribe ( object subscriber, object token ) : void
subscriber object The subscriber.
token object The token.
Résultat void

Unsubscribe() public méthode

Unsubscribes the specified subscriber.
subscriber
public Unsubscribe ( object subscriber ) : void
subscriber object The subscriber.
Résultat void

Property Details

HandlerResultProcessing public_oe static_oe property

The handler result processing
public static Action HandlerResultProcessing
Résultat object>.Action