Freigeben über


BuilderContext.PersistentPolicies Property

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 set of policies that were passed into this context.

Namespace:  Microsoft.Practices.ObjectBuilder2
Assembly:  Microsoft.Practices.ObjectBuilder2 (in Microsoft.Practices.ObjectBuilder2.dll)

Syntax

'Declaration
Public ReadOnly Property PersistentPolicies As IPolicyList
public IPolicyList PersistentPolicies { get; }
public:
virtual property IPolicyList^ PersistentPolicies {
    IPolicyList^ get () sealed;
}
public final function get PersistentPolicies () : IPolicyList

Field Value

The persistent policies for the current context.

Implements

IBuilderContext.PersistentPolicies

Remarks

This returns the policies passed into the context. Policies added here will remain after buildup completes.

See Also

BuilderContext Class

Microsoft.Practices.ObjectBuilder2 Namespace