Compartir vía


RegistrationBuilder.ForTypesMatching Método

Definición

Sobrecargas

ForTypesMatching(Predicate<Type>)

Obtiene un objeto que representa una regla aplicable a todos los tipos que coinciden con el predicado especificado.

ForTypesMatching<T>(Predicate<Type>)

Obtiene un objeto fuertemente tipado que representa una regla aplicable a todos los tipos que coinciden con el predicado especificado.

ForTypesMatching(Predicate<Type>)

Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs

Obtiene un objeto que representa una regla aplicable a todos los tipos que coinciden con el predicado especificado.

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

Parámetros

typeFilter
Predicate<Type>

Predicado que se va a comparar.

Devoluciones

Objeto que representa la regla.

Se aplica a

ForTypesMatching<T>(Predicate<Type>)

Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs
Source:
RegistrationBuilder.cs

Obtiene un objeto fuertemente tipado que representa una regla aplicable a todos los tipos que coinciden con el predicado especificado.

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)

Parámetros de tipo

T

Tipo de objeto PartBuilder<T> que se va a devolver.

Parámetros

typeFilter
Predicate<Type>

Predicado que se va a comparar.

Devoluciones

Objeto fuertemente tipado que representa la regla.

Se aplica a