Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConventionBuilder::ForTypesMatching Method (Predicate<Type^>^)

.NET Framework (current version)
 

Creates a rule that applies to types that match the specified predicate.

Namespace:   System.Composition.Convention
Assembly:  System.Composition.Convention (in System.Composition.Convention.dll)

public:
PartConventionBuilder^ ForTypesMatching(
	Predicate<Type^>^ typeFilter
)

Parameters

typeFilter
Type: System::Predicate<Type^>^

The predicate to match.

Return Value

Type: System.Composition.Convention::PartConventionBuilder^

An object that represents the rule used to further configure it.

Return to top
Show:
© 2017 Microsoft