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 na pasujące typy.
Przeciążenia
| Nazwa | Opis |
|---|---|
| ExportInterfaces() |
Określa, że wszystkie interfejsy pasujących typów powinny być eksportowane. |
| 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 udostępnia informacje o konfiguracji dla wynikowych eksportów. |
ExportInterfaces()
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
- Źródło:
- PartBuilder.cs
Określa, że wszystkie interfejsy pasujących typów powinny być eksportowane.
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 zezwolić na łączenie łańcuchowe.
Dotyczy
ExportInterfaces(Predicate<Type>)
- Źródło:
- PartBuilder.cs
- Ź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 zezwolić na łączenie łańcuchowe.
Wyjątki
Parametr interfaceFilter ma wartość 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
- Źródło:
- PartBuilder.cs
Określa zestaw interfejsów dla pasujących typów, które mają być eksportowane, i udostępnia 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 eksportu. Wartość domyślna to null.
Zwraca
Bieżący obiekt, aby zezwolić na łączenie łańcuchowe.
Wyjątki
Parametr interfaceFilter ma wartość null.
Uwagi
Ta metoda nie będzie eksportować IDisposable ani IPartImportsSatisfiedNotification obiektów.