C# Класс Drey.Configuration.EventBus

Наследование: IEventBus
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
HandlerResultProcessing object>.Action

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

Метод Описание
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.

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

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

Publishes a message to all subscribers.
public Publish ( object message ) : void
message object The message.
Результат void

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

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.
Результат void

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

Subscribes the subscriber to the bus, to listen for events.
public Subscribe ( object subscriber ) : void
subscriber object The subscriber.
Результат void

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

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.
Результат void

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

Unsubscribes the specified subscriber.
subscriber
public Unsubscribe ( object subscriber ) : void
subscriber object The subscriber.
Результат void

Описание свойств

HandlerResultProcessing публичное статическое свойство

The handler result processing
public static Action HandlerResultProcessing
Результат object>.Action