PartBuilder.ExportInterfaces Metod

Definition

Anger en uppsättning gränssnitt som ska exporteras på matchande typer.

Överlagringar

Name Description
ExportInterfaces()

Anger att alla gränssnitt för matchande typer ska exporteras.

ExportInterfaces(Predicate<Type>)

Anger en uppsättning gränssnitt för matchande typer som ska exporteras.

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

Anger en uppsättning gränssnitt för matchande typer som ska exporteras och innehåller konfigurationsinformation för den resulterande exporten.

ExportInterfaces()

Källa:
PartBuilder.cs
Källa:
PartBuilder.cs
Källa:
PartBuilder.cs
Källa:
PartBuilder.cs

Anger att alla gränssnitt för matchande typer ska exporteras.

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ExportInterfaces();
public System.ComponentModel.Composition.Registration.PartBuilder ExportInterfaces();
member this.ExportInterfaces : unit -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportInterfaces () As PartBuilder

Returer

Det aktuella objektet, för att tillåta länkning.

Gäller för

ExportInterfaces(Predicate<Type>)

Källa:
PartBuilder.cs
Källa:
PartBuilder.cs
Källa:
PartBuilder.cs
Källa:
PartBuilder.cs

Anger en uppsättning gränssnitt för matchande typer som ska exporteras.

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

Parametrar

interfaceFilter
Predicate<Type>

Ett predikat som anger en uppsättning gränssnitt.

Returer

Det aktuella objektet, för att tillåta länkning.

Undantag

interfaceFilter är null.

Kommentarer

Den här metoden exporterar IDisposable inte eller IPartImportsSatisfiedNotification objekt.

Gäller för

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

Källa:
PartBuilder.cs
Källa:
PartBuilder.cs
Källa:
PartBuilder.cs
Källa:
PartBuilder.cs

Anger en uppsättning gränssnitt för matchande typer som ska exporteras och innehåller konfigurationsinformation för den resulterande exporten.

public:
 System::ComponentModel::Composition::Registration::PartBuilder ^ ExportInterfaces(Predicate<Type ^> ^ interfaceFilter, Action<Type ^, System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ExportInterfaces(Predicate<Type> interfaceFilter, Action<Type,System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.ExportInterfaces : Predicate<Type> * Action<Type, System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportInterfaces (interfaceFilter As Predicate(Of Type), exportConfiguration As Action(Of Type, ExportBuilder)) As PartBuilder

Parametrar

interfaceFilter
Predicate<Type>

Ett predikat som anger en uppsättning gränssnitt.

exportConfiguration
Action<Type,ExportBuilder>

Ett objekt som innehåller konfigurationsinformation om exporten. Standardvärdet är null.

Returer

Det aktuella objektet, för att tillåta länkning.

Undantag

interfaceFilter är null.

Kommentarer

Den här metoden exporterar IDisposable inte eller IPartImportsSatisfiedNotification objekt.

Gäller för