PolicyList.SetDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetDefault(Type, IBuilderPolicy) | |
SetDefault<TPolicyInterface>(TPolicyInterface) |
SetDefault(Type, IBuilderPolicy)
public:
void SetDefault(Type ^ policyInterface, Microsoft::Practices::ObjectBuilder::IBuilderPolicy ^ policy);
public void SetDefault (Type policyInterface, Microsoft.Practices.ObjectBuilder.IBuilderPolicy policy);
member this.SetDefault : Type * Microsoft.Practices.ObjectBuilder.IBuilderPolicy -> unit
Public Sub SetDefault (policyInterface As Type, policy As IBuilderPolicy)
Parameters
- policyInterface
- Type
- policy
- IBuilderPolicy
Applies to
SetDefault<TPolicyInterface>(TPolicyInterface)
public:
generic <typename TPolicyInterface>
where TPolicyInterface : Microsoft::Practices::ObjectBuilder::IBuilderPolicy void SetDefault(TPolicyInterface policy);
public void SetDefault<TPolicyInterface> (TPolicyInterface policy) where TPolicyInterface : Microsoft.Practices.ObjectBuilder.IBuilderPolicy;
member this.SetDefault : 'PolicyInterface -> unit (requires 'PolicyInterface :> Microsoft.Practices.ObjectBuilder.IBuilderPolicy)
Public Sub SetDefault(Of TPolicyInterface As IBuilderPolicy) (policy As TPolicyInterface)
Type Parameters
- TPolicyInterface
Parameters
- policy
- TPolicyInterface