BuilderStage Enumeration
Enumeration to represent the object builder stages.
Namespace: Microsoft.Practices.ObjectBuilder2
Assembly: Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)
Syntax
'Declaration
Public Enumeration BuilderStage
public enum BuilderStage
public enum class BuilderStage
public enum BuilderStage
Members
Member name | Description | |
---|---|---|
PreCreation |
Strategies in this stage run before creation. Typical work done in this stage might include strategies that use reflection to set policies into the context that other strategies would later use.
|
|
Creation |
Strategies in this stage create objects. Typically you will only have a single policy-driven creation strategy in this stage.
|
|
Initialization |
Strategies in this stage work on created objects. Typical work done in this stage might include setter injection and method calls.
|
|
PostInitialization |
Strategies in this stage work on objects that are already initialized. Typical work done in this stage might include looking to see if the object implements some notification interface to discover when its initialization stage has been completed.
|
Remarks
The order of the values in the enumeration is the order in which the stages are run.