C# Класс Ninject.Extensions.MessageBroker.Planning.Directives.SubscriptionDirective

A directive that describes a message subscription.
Наследование: IDirective
Показать файл Открыть проект

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

Метод Описание
SubscriptionDirective ( string channel, MethodInjector injector, DeliveryThread thread ) : System.Reflection

Initializes a new instance of the SubscriptionDirective class.

Защищенные методы

Метод Описание
BuildKey ( ) : object

Builds the value that uniquely identifies the directive. This is called the first time the key is accessed, and then cached in the directive.

This exists because most directives' keys are based on reading member information, especially parameters. Since it's a relatively expensive procedure, it shouldn't be done each time the key is accessed.

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

BuildKey() защищенный Метод

Builds the value that uniquely identifies the directive. This is called the first time the key is accessed, and then cached in the directive.
This exists because most directives' keys are based on reading member information, especially parameters. Since it's a relatively expensive procedure, it shouldn't be done each time the key is accessed.
protected BuildKey ( ) : object
Результат object

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

Initializes a new instance of the SubscriptionDirective class.
public SubscriptionDirective ( string channel, MethodInjector injector, DeliveryThread thread ) : System.Reflection
channel string The name of the channel that is to be susbcribed to.
injector MethodInjector The injector that triggers the method.
thread DeliveryThread The thread on which the message should be delivered.
Результат System.Reflection