Partager via


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

Constructors

  Name Description
Ee649339.pubmethod(en-us,PandP.10).gif BuilderContext Overloaded.

Methods

  Name Description
Ee649339.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.
Ee649339.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee649339.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee649339.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee649339.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee649339.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee649339.pubmethod(en-us,PandP.10).gifEe649339.static(en-us,PandP.10).gif NewBuildUp<T>
A convenience method to do a new buildup operation on an existing context.
Ee649339.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Properties

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

See Also

BuilderContext Class

Microsoft.Practices.ObjectBuilder2 Namespace