C# Класс NServiceBus.Testing.TestableMessageSession

A testable IMessageSession implementation.
Наследование: TestablePipelineContext, IMessageSession
Показать файл Открыть проект

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

Метод Описание
Subscribe ( Type eventType, SubscribeOptions options ) : System.Threading.Tasks.Task

Subscribes to receive published messages of the specified type. This method is only necessary if you turned off auto-subscribe.

Unsubscribe ( Type eventType, UnsubscribeOptions options ) : System.Threading.Tasks.Task

Unsubscribes to receive published messages of the specified type.

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

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

Subscribes to receive published messages of the specified type. This method is only necessary if you turned off auto-subscribe.
public Subscribe ( Type eventType, SubscribeOptions options ) : System.Threading.Tasks.Task
eventType System.Type The type of event to subscribe to.
options SubscribeOptions Options for the subscribe.
Результат System.Threading.Tasks.Task

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

Unsubscribes to receive published messages of the specified type.
public Unsubscribe ( Type eventType, UnsubscribeOptions options ) : System.Threading.Tasks.Task
eventType System.Type The type of event to unsubscribe to.
options UnsubscribeOptions Options for the subscribe.
Результат System.Threading.Tasks.Task