Partager via


DefaultDynamicBuilderMethodCreatorPolicy Class

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.

An implementation of IDynamicBuilderMethodCreatorPolicy that will check for full trust and if we're building a class or an interface. If in full trust, attach to the class or module of the interface respectively. If in partial trust, attach to the OB2 module instead.

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

Syntax

'Declaration
Public Class DefaultDynamicBuilderMethodCreatorPolicy _
    Implements IDynamicBuilderMethodCreatorPolicy, IBuilderPolicy
public class DefaultDynamicBuilderMethodCreatorPolicy : IDynamicBuilderMethodCreatorPolicy, 
    IBuilderPolicy
public ref class DefaultDynamicBuilderMethodCreatorPolicy : IDynamicBuilderMethodCreatorPolicy, 
    IBuilderPolicy
public class DefaultDynamicBuilderMethodCreatorPolicy implements IDynamicBuilderMethodCreatorPolicy, IBuilderPolicy

Inheritance Hierarchy

System.Object
  Microsoft.Practices.ObjectBuilder2.DefaultDynamicBuilderMethodCreatorPolicy

See Also

DefaultDynamicBuilderMethodCreatorPolicy Members

Microsoft.Practices.ObjectBuilder2 Namespace