Jaa


UnityBuildStage Enumeration

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

The build stages we use in the Unity container strategy pipeline.

Namespace:  Microsoft.Practices.Unity.ObjectBuilder
Assembly:  Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)

Syntax

'Declaration
Public Enumeration UnityBuildStage
public enum UnityBuildStage
public enum class UnityBuildStage
public enum UnityBuildStage

Members

Member name Description
Setup
First stage. By default, nothing happens here.
TypeMapping
Second stage. Type mapping occurs here.
Lifetime
Third stage. lifetime managers are checked here, and if they're available the rest of the pipeline is skipped.
PreCreation
Fourth stage. Reflection over constructors, properties, etc. is performed here.
Creation
Fifth stage. Instance creation happens here.
Initialization
Sixth stage. Property sets and method injection happens here.
PostInitialization
Seventh and final stage. By default, nothing happens here.

See Also

Microsoft.Practices.Unity.ObjectBuilder Namespace