C# 클래스 Ninject.Extensions.MessageBroker.Model.Subscriptions.StandardMessageSubscription

The stock implementation of a IMessageSubscription.
상속: Ninject.Infrastructure.Disposal.DisposableObject, IMessageSubscription
파일 보기 프로젝트 열기: ninject/Ninject.Extensions.MessageBroker

공개 메소드들

메소드 설명
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