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

.NET Framework (current version)
 

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

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

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

Parameters

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

The predicate to match.

Return Value

Type: System.Composition.Convention::PartConventionBuilder<T>^

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

Type Parameters

T

The type to match.

Return to top
Show: