Summer.Batch.Core.Unity.StepScope Namespace Reference

Classes

struct  StepScopeDependency
 Represents a dependency in the scope step. More...
 
class  StepScopeExtension
 Unity extension to handle the step scope. It adds the StepScopeStrategy at the UnityBuildStage.PreCreation stage and registers to the ExtensionContext.Registering event to synchronize registration of dependencies in the step scope with StepScopeSynchronization. More...
 
class  StepScopeLifetimeManager
 Implementation of LifetimeManager for step scope. It relies on StepSynchronizationManager to store and retrieve the instance. More...
 
class  StepScopeOverride
 Implementation of ResolverOverride that overrides dependencies in the step scope. More...
 
class  StepScopeResolverPolicy
 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...
 
class  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. More...