C# Class Contour.Configurator.AppConfigConfigurator

Конфигуратор клиента шины сообщений, использующий настройки объявленные в стандартном .config-файле.
Inheritance: IConfigurator
Show file Open project: SDVentures/Contour Class Usage Examples

Public Methods

Method Description
AppConfigConfigurator ( ) : System

Инициализирует новый экземпляр класса AppConfigConfigurator.

AppConfigConfigurator ( DependencyResolverFunc dependencyResolverFunc ) : System

Инициализирует новый экземпляр класса AppConfigConfigurator.

AppConfigConfigurator ( IDependencyResolver dependencyResolver ) : System

Инициализирует новый экземпляр класса AppConfigConfigurator.

Configure ( string endpointName, IBusConfigurator cfg ) : IBusConfigurator

Конфигурирует клиента шины сообщений.

GetEvent ( string endpointName, string key ) : string

The get event.

GetRequestConfig ( string endpointName, string key ) : IRequestConfiguration

The get request config.

Private Methods

Method Description
AppConfigConfigurator ( Contour.Configurator.EndpointsSection endpointsConfig, DependencyResolverFunc dependencyResolverFunc ) : System

Инициализирует новый экземпляр класса AppConfigConfigurator.

AppConfigConfigurator ( Contour.Configurator.EndpointsSection endpointsConfig, IDependencyResolver dependencyResolver ) : System

Инициализирует новый экземпляр класса AppConfigConfigurator.

BuildConsumer ( Func consumerFactory, Type messageType, Lifestyle lifestyle ) : object

The build consumer.

BuildConsumerFactory ( string name, Type messageType ) : Func

The build consumer factory.

GetEndPointByName ( string endpointName ) : EndpointElement

The get end point by name.

RegisterConsumer ( IReceiverConfigurator configurator, Type messageType, object consumer ) : void

The register consumer.

ResolveConsumer ( string name, Type messageType ) : object

The resolve consumer.

ResolveLifecycleHandler ( string name ) : IBusLifecycleHandler

The resolve lifecycle handler.

ResolveType ( string messageType ) : Type

The resolve type.

ResolveValidator ( string name ) : IMessageValidator

The resolve validator.

ResolveValidator ( string name, Type messageType ) : IMessageValidator

The resolve validator.

ResolveValidatorGroup ( string name ) : Contour.Validation.MessageValidatorGroup

The resolve validator group.

Method Details

AppConfigConfigurator() public method

Инициализирует новый экземпляр класса AppConfigConfigurator.
public AppConfigConfigurator ( ) : System
return System

AppConfigConfigurator() public method

Инициализирует новый экземпляр класса AppConfigConfigurator.
public AppConfigConfigurator ( DependencyResolverFunc dependencyResolverFunc ) : System
dependencyResolverFunc DependencyResolverFunc /// The dependency resolver func. ///
return System

AppConfigConfigurator() public method

Инициализирует новый экземпляр класса AppConfigConfigurator.
public AppConfigConfigurator ( IDependencyResolver dependencyResolver ) : System
dependencyResolver IDependencyResolver /// The dependency resolver. ///
return System

Configure() public method

Конфигурирует клиента шины сообщений.
public Configure ( string endpointName, IBusConfigurator cfg ) : IBusConfigurator
endpointName string /// Имя точки подключения к шине. ///
cfg IBusConfigurator /// Конфигуратор клиента шины. ///
return IBusConfigurator

GetEvent() public method

The get event.
public GetEvent ( string endpointName, string key ) : string
endpointName string /// The endpoint name. ///
key string /// The key. ///
return string

GetRequestConfig() public method

The get request config.
public GetRequestConfig ( string endpointName, string key ) : IRequestConfiguration
endpointName string /// The endpoint name. ///
key string /// The key. ///
return IRequestConfiguration