Share via


PolicyList.Set Method

Definition

Overloads

Set(Type, IBuilderPolicy, Type, String)
Set<TPolicyInterface>(TPolicyInterface, Type, String)

Set(Type, IBuilderPolicy, Type, String)

public:
 void Set(Type ^ policyInterface, Microsoft::Practices::ObjectBuilder::IBuilderPolicy ^ policy, Type ^ typePolicyAppliesTo, System::String ^ idPolicyAppliesTo);
public void Set (Type policyInterface, Microsoft.Practices.ObjectBuilder.IBuilderPolicy policy, Type typePolicyAppliesTo, string idPolicyAppliesTo);
member this.Set : Type * Microsoft.Practices.ObjectBuilder.IBuilderPolicy * Type * string -> unit
Public Sub Set (policyInterface As Type, policy As IBuilderPolicy, typePolicyAppliesTo As Type, idPolicyAppliesTo As String)

Parameters

policyInterface
Type
typePolicyAppliesTo
Type
idPolicyAppliesTo
String

Applies to

Set<TPolicyInterface>(TPolicyInterface, Type, String)

public:
generic <typename TPolicyInterface>
 where TPolicyInterface : Microsoft::Practices::ObjectBuilder::IBuilderPolicy void Set(TPolicyInterface policy, Type ^ typePolicyAppliesTo, System::String ^ idPolicyAppliesTo);
public void Set<TPolicyInterface> (TPolicyInterface policy, Type typePolicyAppliesTo, string idPolicyAppliesTo) where TPolicyInterface : Microsoft.Practices.ObjectBuilder.IBuilderPolicy;
member this.Set : 'PolicyInterface * Type * string -> unit (requires 'PolicyInterface :> Microsoft.Practices.ObjectBuilder.IBuilderPolicy)
Public Sub Set(Of TPolicyInterface As IBuilderPolicy) (policy As TPolicyInterface, typePolicyAppliesTo As Type, idPolicyAppliesTo As String)

Type Parameters

TPolicyInterface

Parameters

policy
TPolicyInterface
typePolicyAppliesTo
Type
idPolicyAppliesTo
String

Applies to