C# Class Summer.Batch.Core.Unity.StepScope.StepScopeStrategy

Builder strategy for step scope. It should be added at the UnityBuildStage.PreCreation stage. Before the instance is created, it checks resolvers for the constructor parameters, properties, and method parameters. If any dependency is in the step scope but the current instance being built is not, the resolver is overriden using StepScopeOverride.
Inheritance: Microsoft.Practices.ObjectBuilder2.BuilderStrategy
Afficher le fichier Open project: SummerBatch/SummerBatch

Méthodes publiques

Méthode Description
PreBuildUp ( IBuilderContext context ) : void

Checks if resolvers need to be overriden.

Private Methods

Méthode Description
AddMethodParameterDependency ( string>.Dictionary methodParameters, string>.Tuple key, Summer.Batch.Core.Unity.StepScope.StepScopeDependency dependency ) : void
GetSignature ( MethodBase method ) : string
ResolveConstructorParameters ( SelectedConstructor constructor, StepScopeDependency>.Dictionary constructorParameters ) : void
ResolveMethodParameters ( IBuilderContext context, IMethodSelectorPolicy methodSelector, IPolicyList resolverPolicyDestination, string>.Dictionary methodParameters ) : void
ResolveProperties ( IBuilderContext context, IPropertySelectorPolicy propertySelector, IPolicyList resolverPolicyDestination, StepScopeDependency>.Dictionary properties ) : void

Method Details

PreBuildUp() public méthode

Checks if resolvers need to be overriden.
public PreBuildUp ( IBuilderContext context ) : void
context IBuilderContext Context of the build operation.
Résultat void