Share via


IBuilderContext Members

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 IBuilderContext type exposes the following members.

Methods

  Name Description
Ee649978.pubmethod(en-us,PandP.10).gif CloneForNewBuild
Create a new IBuilderContext which has the same strategies, locator, policies, and lifetime but a new build key and existing object. Used to execute recursive calls when building up dependencies.

Properties

  Name Description
Ee649978.pubproperty(en-us,PandP.10).gif BuildComplete
Flag indicating if the build operation should continue.
Ee649978.pubproperty(en-us,PandP.10).gif BuildKey
Get the current build key for the current build operation.
Ee649978.pubproperty(en-us,PandP.10).gif Existing
The current object being built up or torn down.
Ee649978.pubproperty(en-us,PandP.10).gif Lifetime
Gets the ILifetimeContainer associated with the build.
Ee649978.pubproperty(en-us,PandP.10).gif Locator
Gets the locator available to the strategies.
Ee649978.pubproperty(en-us,PandP.10).gif OriginalBuildKey
Gets the original build key for the build operation.
Ee649978.pubproperty(en-us,PandP.10).gif PersistentPolicies
The set of policies that were passed into this context.
Ee649978.pubproperty(en-us,PandP.10).gif Policies
Gets the policies for the current context.
Ee649978.pubproperty(en-us,PandP.10).gif RecoveryStack
Gets the collection of IRequiresRecovery objects that need to execute in event of an exception.
Ee649978.pubproperty(en-us,PandP.10).gif Strategies
Gets the head of the strategy chain.

See Also

IBuilderContext Interface

Microsoft.Practices.ObjectBuilder2 Namespace