다음을 통해 공유


PartConventionBuilder.ExportInterfaces Method

Definition

Overloads

ExportInterfaces()

Selects all interfaces on the part type to be exported.

ExportInterfaces(Predicate<Type>)

Selects interfaces on the part type to be exported according to the specified filter.

ExportInterfaces(Predicate<Type>, Action<Type,ExportConventionBuilder>)

Selects interfaces on the part type to be exported according to the specified filter, using the specified export configuration.

ExportInterfaces()

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

Selects all interfaces on the part type to be exported.

public:
 System::Composition::Convention::PartConventionBuilder ^ ExportInterfaces();
public System.Composition.Convention.PartConventionBuilder ExportInterfaces ();
member this.ExportInterfaces : unit -> System.Composition.Convention.PartConventionBuilder
Public Function ExportInterfaces () As PartConventionBuilder

Returns

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

Applies to

ExportInterfaces(Predicate<Type>)

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

Selects interfaces on the part type to be exported according to the specified filter.

public:
 System::Composition::Convention::PartConventionBuilder ^ ExportInterfaces(Predicate<Type ^> ^ interfaceFilter);
public System.Composition.Convention.PartConventionBuilder ExportInterfaces (Predicate<Type> interfaceFilter);
member this.ExportInterfaces : Predicate<Type> -> System.Composition.Convention.PartConventionBuilder
Public Function ExportInterfaces (interfaceFilter As Predicate(Of Type)) As PartConventionBuilder

Parameters

interfaceFilter
Predicate<Type>

A predicate that specifies the interfaces to be selected.

Returns

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

Applies to

ExportInterfaces(Predicate<Type>, Action<Type,ExportConventionBuilder>)

Source:
PartConventionBuilder.cs
Source:
PartConventionBuilder.cs

Selects interfaces on the part type to be exported according to the specified filter, using the specified export configuration.

public:
 System::Composition::Convention::PartConventionBuilder ^ ExportInterfaces(Predicate<Type ^> ^ interfaceFilter, Action<Type ^, System::Composition::Convention::ExportConventionBuilder ^> ^ exportConfiguration);
public System.Composition.Convention.PartConventionBuilder ExportInterfaces (Predicate<Type> interfaceFilter, Action<Type,System.Composition.Convention.ExportConventionBuilder> exportConfiguration);
member this.ExportInterfaces : Predicate<Type> * Action<Type, System.Composition.Convention.ExportConventionBuilder> -> System.Composition.Convention.PartConventionBuilder
Public Function ExportInterfaces (interfaceFilter As Predicate(Of Type), exportConfiguration As Action(Of Type, ExportConventionBuilder)) As PartConventionBuilder

Parameters

interfaceFilter
Predicate<Type>

A predicate that specifies the interfaces to be selected.

exportConfiguration
Action<Type,ExportConventionBuilder>

An action that configures the exports.

Returns

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

Applies to