Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RegistrationBuilder.ForTypesMatching<T> Method (Predicate<Type>)

.NET Framework 4.6 and 4.5

Gets a strongly typed object that represents a rule applicable to all types that match the specified predicate.

Namespace:  System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

public PartBuilder<T> ForTypesMatching<T>(
	Predicate<Type> typeFilter

Type Parameters


The type of PartBuilder<T> object to return.


Type: System.Predicate<Type>

The predicate to match.

Return Value

Type: System.ComponentModel.Composition.Registration.PartBuilder<T>
A strongly typed object that represents the rule.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft