C# Класс Rebel.Hive.InMemoryProvider.CacheDemandBuilder

Наследование: AbstractProviderDependencyBuilder
Показать файл Открыть проект

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

Метод Описание
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.

Описание методов

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

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.
Результат void

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

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.
Результат AbstractProviderBootstrapper>.Func

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

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.
Результат ProviderDependencyHelper>.Func

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

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.
Результат void