RegistrationBuilder.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>) |
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>)
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
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
Returns
An object that represents the rule.
Applies to
ForTypesMatching<T>(Predicate<Type>)
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
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
Returns
A strongly typed object that represents the rule.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應