PartBuilder.ExportInterfaces Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Określa zestaw interfejsów, które mają być eksportowane dla pasujących typów.
Przeciążenia
ExportInterfaces() |
Określa, że należy wyeksportować wszystkie interfejsy pasujących typów. |
ExportInterfaces(Predicate<Type>) |
Określa zestaw interfejsów dla pasujących typów, które mają być eksportowane. |
ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>) |
Określa zestaw interfejsów dla pasujących typów, które mają być eksportowane, i dostarcza informacje o konfiguracji dla wynikowych eksportów. |
ExportInterfaces()
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
Określa, że należy wyeksportować wszystkie interfejsy pasujących typów.
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
Zwraca
Bieżący obiekt, aby umożliwić łączenie łańcuchowe.
Dotyczy
ExportInterfaces(Predicate<Type>)
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
Określa zestaw interfejsów dla pasujących typów, które mają być eksportowane.
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
Parametry
Zwraca
Bieżący obiekt, aby umożliwić łączenie łańcuchowe.
Wyjątki
interfaceFilter
to null
.
Uwagi
Ta metoda nie będzie eksportować IDisposable ani IPartImportsSatisfiedNotification obiektów.
Dotyczy
ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>)
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
Określa zestaw interfejsów dla pasujących typów, które mają być eksportowane, i dostarcza informacje o konfiguracji dla wynikowych eksportów.
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
Parametry
- exportConfiguration
- Action<Type,ExportBuilder>
Obiekt zawierający informacje o konfiguracji dotyczące eksportu. Wartość domyślna to null
.
Zwraca
Bieżący obiekt, aby umożliwić łączenie łańcuchowe.
Wyjątki
interfaceFilter
to null
.
Uwagi
Ta metoda nie będzie eksportować IDisposable ani IPartImportsSatisfiedNotification obiektów.