PartConventionBuilder::ImportProperties Method (Predicate<PropertyInfo^>^, Action<PropertyInfo^, ImportConventionBuilder^>^)

.NET Framework (current version)
 

Selects the properties on the part to import according the specified predicate, using the specified import configuration.

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

public:
PartConventionBuilder^ ImportProperties(
	Predicate<PropertyInfo^>^ propertyFilter,
	Action<PropertyInfo^, ImportConventionBuilder^>^ importConfiguration
)

Parameters

propertyFilter
Type: System::Predicate<PropertyInfo^>^

A predicate that specifies properties to import.

importConfiguration
Type: System::Action<PropertyInfo^, ImportConventionBuilder^>^

An action that configures the imports.

Return Value

Type: System.Composition.Convention::PartConventionBuilder^

A part builder that provides further configuration of the part.

Return to top
Show: