C# Class Rebel.Hive.InMemoryProvider.CacheDemandBuilder

Inheritance: AbstractProviderDependencyBuilder
Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

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

Builds the dependency demands required by this implementation.

GetProviderBootstrapperFactory ( IBuilderContext builderContext ) : AbstractProviderBootstrapper>.Func

Gets the provider bootstrapper factory. The AbstractProviderDependencyBuilder will use this to register the AbstractProviderBootstrapper against the ProviderKey.

GetProviderDependencyHelperFactory ( IBuilderContext builderContext ) : ProviderDependencyHelper>.Func

Gets the provider dependency helper factory. If a provider requires dependencies with a specific registration key, use this delegate to register a ProviderDependencyHelper with the appropriate keyed dependencies. Otherwise, if this method returns null, ProviderDemandRunner will register a NullProviderDependencyHelper in its place.

Initialise ( IBuilderContext builderContext ) : void

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

Method Details

Build() public method

Builds the dependency demands required by this implementation.
public Build ( IContainerBuilder containerBuilder, IBuilderContext context ) : void
containerBuilder IContainerBuilder The .
context IBuilderContext The context for this building session containing configuration etc.
return void

GetProviderBootstrapperFactory() public method

Gets the provider bootstrapper factory. The AbstractProviderDependencyBuilder will use this to register the AbstractProviderBootstrapper against the ProviderKey.
public GetProviderBootstrapperFactory ( IBuilderContext builderContext ) : AbstractProviderBootstrapper>.Func
builderContext IBuilderContext The builder context.
return AbstractProviderBootstrapper>.Func

GetProviderDependencyHelperFactory() public method

Gets the provider dependency helper factory. If a provider requires dependencies with a specific registration key, use this delegate to register a ProviderDependencyHelper with the appropriate keyed dependencies. Otherwise, if this method returns null, ProviderDemandRunner will register a NullProviderDependencyHelper in its place.
public GetProviderDependencyHelperFactory ( IBuilderContext builderContext ) : ProviderDependencyHelper>.Func
builderContext IBuilderContext The builder context.
return ProviderDependencyHelper>.Func

Initialise() public method

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