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

A dependency resolver used when resolving dependencies in the step scope for an instance that is not in the step scope itself. It creates a proxy object, the underlying instance of which will be updated at the start of each step. More...

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

Public Member Functions

 StepScopeResolverPolicy (StepScopeDependency dependency)
 Creates a new StepScopeResolverPolicy. More...
 
object Resolve (IBuilderContext context)
 Resolves the dependency by crating a proxy and registers it with StepScopeSynchronization. More...
 

Detailed Description

A dependency resolver used when resolving dependencies in the step scope for an instance that is not in the step scope itself. It creates a proxy object, the underlying instance of which will be updated at the start of each step.

Constructor & Destructor Documentation

Summer.Batch.Core.Unity.StepScope.StepScopeResolverPolicy.StepScopeResolverPolicy ( StepScopeDependency  dependency)

Creates a new StepScopeResolverPolicy.

Parameters
dependencythe dependency to resolve

Member Function Documentation

object Summer.Batch.Core.Unity.StepScope.StepScopeResolverPolicy.Resolve ( IBuilderContext  context)

Resolves the dependency by crating a proxy and registers it with StepScopeSynchronization.

Parameters
contextCurrent build context
Returns
The created proxy

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