RegistrationBuilder.ForTypesMatching Method

Definition

Overloads

ForTypesMatching(Predicate<Type>)

Gets an object that represents a rule applicable to all types that match the specified predicate.

ForTypesMatching<T>(Predicate<Type>)

Gets a strongly typed object that represents a rule applicable to all types that match the specified predicate.

ForTypesMatching(Predicate<Type>)

Gets an object that represents a rule applicable to all types that match the specified predicate.

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ForTypesMatching(Predicate<Type ^> ^ typeFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ForTypesMatching (Predicate<Type> typeFilter);
member this.ForTypesMatching : Predicate<Type> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ForTypesMatching (typeFilter As Predicate(Of Type)) As PartBuilder

Parameters

typeFilter
Predicate<Type>

The predicate to match.

Returns

An object that represents the rule.

ForTypesMatching<T>(Predicate<Type>)

Gets a strongly typed object that represents a rule applicable to all types that match the specified predicate.

public:
generic <typename T>
 System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ForTypesMatching(Predicate<Type ^> ^ typeFilter);
public System.ComponentModel.Composition.Registration.PartBuilder<T> ForTypesMatching<T> (Predicate<Type> typeFilter);
member this.ForTypesMatching : Predicate<Type> -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ForTypesMatching(Of T) (typeFilter As Predicate(Of Type)) As PartBuilder(Of T)

Type Parameters

T

The type of PartBuilder<T> object to return.

Parameters

typeFilter
Predicate<Type>

The predicate to match.

Returns

A strongly typed object that represents the rule.

Applies to