C# Class Rebel.Framework.Persistence.NHibernate.Dependencies.NHibernateDemandBuilder

Inheritance: AbstractProviderDependencyBuilder
Datei anzeigen Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
Build ( IContainerBuilder containerBuilder, IBuilderContext builderContext ) : void

Builds the dependency demands required by this implementation. This method will only be executed if AbstractProviderDependencyBuilder.CanBuild is set to true. Providers have an opportunity to do this in Initialise dependent upon whatever checks are necessary.

GetProviderBootstrapperFactory ( IBuilderContext builderContext ) : AbstractProviderBootstrapper>.Func

Gets the provider bootstrapper factory. The AbstractProviderDependencyBuilder will use this to register the AbstractProviderBootstrapper against the ProviderKey. This method will still be called even if the Initialise function set CanBuild to false, such that a provider can have a bootstrapper that may be used to install it.

GetProviderDependencyHelperFactory ( IBuilderContext builderContext ) : ProviderDependencyHelper>.Func
Initialise ( IBuilderContext builderContext ) : void

Initialises the provider dependency builder. This method is run by Rebel.Hive.DependencyManagement.ProviderDemandRunner prior to it calling Build.

Method Details

Build() public method

Builds the dependency demands required by this implementation. This method will only be executed if AbstractProviderDependencyBuilder.CanBuild is set to true. Providers have an opportunity to do this in Initialise dependent upon whatever checks are necessary.
public Build ( IContainerBuilder containerBuilder, IBuilderContext builderContext ) : void
containerBuilder IContainerBuilder The .
builderContext IBuilderContext
return void

GetProviderBootstrapperFactory() public method

Gets the provider bootstrapper factory. The AbstractProviderDependencyBuilder will use this to register the AbstractProviderBootstrapper against the ProviderKey. This method will still be called even if the Initialise function set CanBuild to false, such that a provider can have a bootstrapper that may be used to install it.
public GetProviderBootstrapperFactory ( IBuilderContext builderContext ) : AbstractProviderBootstrapper>.Func
builderContext IBuilderContext The builder context.
return AbstractProviderBootstrapper>.Func

GetProviderDependencyHelperFactory() public method

public GetProviderDependencyHelperFactory ( IBuilderContext builderContext ) : ProviderDependencyHelper>.Func
builderContext IBuilderContext
return ProviderDependencyHelper>.Func

Initialise() public method

Initialises the provider dependency builder. This method is run by Rebel.Hive.DependencyManagement.ProviderDemandRunner prior to it calling Build.
public Initialise ( IBuilderContext builderContext ) : void
builderContext IBuilderContext The builder context.
return void