ConventionBuilder.ForTypesMatching 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
ForTypesMatching(Predicate<Type>) |
Creates a rule that applies to types that match the specified predicate. |
ForTypesMatching<T>(Predicate<Type>) |
Creates a rule that applies to types that match the specified predicate and generic type. |
ForTypesMatching(Predicate<Type>)
- Source:
- ConventionBuilder.cs
- Source:
- ConventionBuilder.cs
- Source:
- ConventionBuilder.cs
- Source:
- ConventionBuilder.cs
Creates a rule that applies to types that match the specified predicate.
public:
System::Composition::Convention::PartConventionBuilder ^ ForTypesMatching(Predicate<Type ^> ^ typeFilter);
public System.Composition.Convention.PartConventionBuilder ForTypesMatching (Predicate<Type> typeFilter);
member this.ForTypesMatching : Predicate<Type> -> System.Composition.Convention.PartConventionBuilder
Public Function ForTypesMatching (typeFilter As Predicate(Of Type)) As PartConventionBuilder
Parameters
Returns
An object that can be used to further configure the rule.
Applies to
ForTypesMatching<T>(Predicate<Type>)
- Source:
- ConventionBuilder.cs
- Source:
- ConventionBuilder.cs
- Source:
- ConventionBuilder.cs
- Source:
- ConventionBuilder.cs
Creates a rule that applies to types that match the specified predicate and generic type.
public:
generic <typename T>
System::Composition::Convention::PartConventionBuilder<T> ^ ForTypesMatching(Predicate<Type ^> ^ typeFilter);
public System.Composition.Convention.PartConventionBuilder<T> ForTypesMatching<T> (Predicate<Type> typeFilter);
member this.ForTypesMatching : Predicate<Type> -> System.Composition.Convention.PartConventionBuilder<'T>
Public Function ForTypesMatching(Of T) (typeFilter As Predicate(Of Type)) As PartConventionBuilder(Of T)
Type Parameters
- T
The type to match.
Parameters
Returns
An object that can be used to further configure the rule.
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по