Partager via


PolicyList.Get Method

Definition

Overloads

Get(Type, Type, String)
Get<TPolicyInterface>(Type, String)

Get(Type, Type, String)

public:
 Microsoft::Practices::ObjectBuilder::IBuilderPolicy ^ Get(Type ^ policyInterface, Type ^ typePolicyAppliesTo, System::String ^ idPolicyAppliesTo);
public Microsoft.Practices.ObjectBuilder.IBuilderPolicy Get (Type policyInterface, Type typePolicyAppliesTo, string idPolicyAppliesTo);
member this.Get : Type * Type * string -> Microsoft.Practices.ObjectBuilder.IBuilderPolicy
Public Function Get (policyInterface As Type, typePolicyAppliesTo As Type, idPolicyAppliesTo As String) As IBuilderPolicy

Parameters

policyInterface
Type
typePolicyAppliesTo
Type
idPolicyAppliesTo
String

Returns

Applies to

Get<TPolicyInterface>(Type, String)

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

Type Parameters

TPolicyInterface

Parameters

typePolicyAppliesTo
Type
idPolicyAppliesTo
String

Returns

TPolicyInterface

Applies to