C# Class NContext.EventHandling.EventManagerBuilder

Defines an application component builder for EventManager.
Inheritance: ApplicationComponentConfigurationBuilderBase
ファイルを表示 Open project: PowerDMS/NContext

Public Methods

Method Description
EventManagerBuilder ( ApplicationConfigurationBuilder applicationConfigurationBuilder ) : System

Initializes a new instance of the ApplicationComponentConfigurationBuilderBase class.

SetActivationProvider ( Func activationProviderFactory ) : EventManagerBuilder

Sets the activation provider used to resolve IHandleEvent{T} and IGracefullyHandleEvent{T} instances.

Protected Methods

Method Description
Setup ( ) : void

Method Details

EventManagerBuilder() public method

Initializes a new instance of the ApplicationComponentConfigurationBuilderBase class.
public EventManagerBuilder ( ApplicationConfigurationBuilder applicationConfigurationBuilder ) : System
applicationConfigurationBuilder ApplicationConfigurationBuilder The application configuration.
return System

SetActivationProvider() public method

Sets the activation provider used to resolve IHandleEvent{T} and IGracefullyHandleEvent{T} instances.
public SetActivationProvider ( Func activationProviderFactory ) : EventManagerBuilder
activationProviderFactory Func The activation provider factory.
return EventManagerBuilder

Setup() protected method

protected Setup ( ) : void
return void