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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per