C# Класс Ninject.Extensions.MessageBroker.Model.Subscriptions.StandardMessageSubscription

The stock implementation of a IMessageSubscription.
Наследование: Ninject.Infrastructure.Disposal.DisposableObject, IMessageSubscription
Показать файл Открыть проект

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

Метод Описание
Deliver ( object sender, object args ) : void

Triggers the event handler associated with the subscription.

Dispose ( bool disposing ) : void

Releases all resources held by the object.

StandardMessageSubscription ( IMessageChannel channel, object subscriber, MethodInjector injector, DeliveryThread deliveryThread ) : System.Reflection

Initializes a new instance of the StandardMessageSubscription class.

Приватные методы

Метод Описание
DeliverMessage ( object sender, object args ) : void
DeliverViaBackgroundThread ( object sender, object args ) : void
DeliverViaSynchronizationContext ( object sender, object args ) : void

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

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

Triggers the event handler associated with the subscription.
public Deliver ( object sender, object args ) : void
sender object The object that published the event.
args object The event arguments.
Результат void

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

Releases all resources held by the object.
public Dispose ( bool disposing ) : void
disposing bool if managed objects should be disposed, otherwise .
Результат void

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

Initializes a new instance of the StandardMessageSubscription class.
public StandardMessageSubscription ( IMessageChannel channel, object subscriber, MethodInjector injector, DeliveryThread deliveryThread ) : System.Reflection
channel IMessageChannel The channel associated with the subscription.
subscriber object The object that will receive the channel events.
injector MethodInjector The injector that will be triggered an event occurs.
deliveryThread DeliveryThread The thread context that should be used to deliver the message.
Результат System.Reflection