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

.NET Framework 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

T

The type of PartBuilder<T> object to return.

Parameters

typeFilter
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft