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

.NET Framework (current version)
 

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
)

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.

Type Parameters

T

The type of PartBuilder<T> object to return.

.NET Framework
Available since 4.5
Return to top
Show: