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

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

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

Метод Описание
PublicationDirective ( string channel, EventInfo evt ) : System.Reflection

Initializes a new instance of the PublicationDirective 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

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

Initializes a new instance of the PublicationDirective class.
public PublicationDirective ( string channel, EventInfo evt ) : System.Reflection
channel string The name of the channel that is to be published to.
evt System.Reflection.EventInfo The event that will be published to the channel.
Результат System.Reflection