Summer.Batch.Core.Unity.StepScope.StepScopeOverride Class Reference

Implementation of ResolverOverride that overrides dependencies in the step scope. More...

Inheritance diagram for Summer.Batch.Core.Unity.StepScope.StepScopeOverride:

Public Member Functions

 StepScopeOverride (IDictionary< string, StepScopeDependency > constructorParameters, IDictionary< string, StepScopeDependency > properties, IDictionary< Tuple< string, string >, IList< StepScopeDependency >> methodParameters)
 Creates a new StepScopeOverride. More...
 
override IDependencyResolverPolicy GetResolver (IBuilderContext context, Type dependencyType)
 Returns a StepScopeResolverPolicy for dependencies in the step scope. More...
 

Detailed Description

Implementation of ResolverOverride that overrides dependencies in the step scope.

Constructor & Destructor Documentation

Summer.Batch.Core.Unity.StepScope.StepScopeOverride.StepScopeOverride ( IDictionary< string, StepScopeDependency constructorParameters,
IDictionary< string, StepScopeDependency properties,
IDictionary< Tuple< string, string >, IList< StepScopeDependency >>  methodParameters 
)

Creates a new StepScopeOverride.

Parameters
constructorParametersthe constructor parameter injections to override
propertiesthe properties injection to override
methodParametersthe method parameter injections to override

Member Function Documentation

override IDependencyResolverPolicy Summer.Batch.Core.Unity.StepScope.StepScopeOverride.GetResolver ( IBuilderContext  context,
Type  dependencyType 
)

Returns a StepScopeResolverPolicy for dependencies in the step scope.

Parameters
contextthe current build context
dependencyTypethe type of dependency
Returns
a StepScopeResolverPolicy if the dependency being resolved in is step scope; null otherwise

The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Unity/StepScope/StepScopeResolverOverride.cs