次の方法で共有


PartConventionBuilder.ExportProperties Method

Definition

Overloads

ExportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ExportConventionBuilder>)

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

ExportProperties(Predicate<PropertyInfo>)

Selects the properties on the part to export according to the specified predicate.

ExportProperties<T>(Predicate<PropertyInfo>)

Selects the properties on the part to export according to the specified predicate, using the specified contract type.

ExportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ExportConventionBuilder>)

Selects the properties on the part to export according to the specified predicate, using the specified contract type and export configuration.

ExportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ExportConventionBuilder>)

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

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

public:
 System::Composition::Convention::PartConventionBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::Composition::Convention::ExportConventionBuilder ^> ^ exportConfiguration);
public System.Composition.Convention.PartConventionBuilder ExportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.Composition.Convention.ExportConventionBuilder> exportConfiguration);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.Composition.Convention.ExportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function ExportProperties (propertyFilter As Predicate(Of PropertyInfo), exportConfiguration As Action(Of PropertyInfo, ExportConventionBuilder)) As PartConventionBuilder

Parameters

propertyFilter
Predicate<PropertyInfo>

A predicate that specifies the properites to export.

exportConfiguration
Action<PropertyInfo,ExportConventionBuilder>

An action that configures the exports.

Returns

A part builder that can be used to further configure the part.

Applies to

ExportProperties(Predicate<PropertyInfo>)

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

Selects the properties on the part to export according to the specified predicate.

public:
 System::Composition::Convention::PartConventionBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.Composition.Convention.PartConventionBuilder ExportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> -> System.Composition.Convention.PartConventionBuilder
Public Function ExportProperties (propertyFilter As Predicate(Of PropertyInfo)) As PartConventionBuilder

Parameters

propertyFilter
Predicate<PropertyInfo>

A predicate that specifies the properites to export.

Returns

A part builder that can be used to further configure the part.

Applies to

ExportProperties<T>(Predicate<PropertyInfo>)

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

Selects the properties on the part to export according to the specified predicate, using the specified contract type.

public:
generic <typename T>
 System::Composition::Convention::PartConventionBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.Composition.Convention.PartConventionBuilder ExportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> -> System.Composition.Convention.PartConventionBuilder
Public Function ExportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo)) As PartConventionBuilder

Type Parameters

T

The contract type.

Parameters

propertyFilter
Predicate<PropertyInfo>

A predicate that specifies the properites to export.

Returns

A part builder that can be used to further configure the part.

Applies to

ExportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ExportConventionBuilder>)

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

Selects the properties on the part to export according to the specified predicate, using the specified contract type and export configuration.

public:
generic <typename T>
 System::Composition::Convention::PartConventionBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::Composition::Convention::ExportConventionBuilder ^> ^ exportConfiguration);
public System.Composition.Convention.PartConventionBuilder ExportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.Composition.Convention.ExportConventionBuilder> exportConfiguration);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.Composition.Convention.ExportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function ExportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo), exportConfiguration As Action(Of PropertyInfo, ExportConventionBuilder)) As PartConventionBuilder

Type Parameters

T

The contract type.

Parameters

propertyFilter
Predicate<PropertyInfo>

A predicate that specifies the properites to export.

exportConfiguration
Action<PropertyInfo,ExportConventionBuilder>

An action that configures the exports.

Returns

A part builder that can be used to further configure the part.

Applies to