ExportProvider Classe

Definição

public abstract class ExportProvider : IDisposable, Microsoft.IDisposableObservable
type ExportProvider = class
    interface IDisposableObservable
    interface IDisposable
Public MustInherit Class ExportProvider
Implements IDisposable, IDisposableObservable
Herança
ExportProvider
Derivado
Implementações

Construtores

Nome Description
ExportProvider(ExportProvider, ImmutableHashSet<String>)
ExportProvider(Resolver)

Campos

Nome Description
EmptyMetadata

Um modelo de metadados usado pelo código gerado.

EmptyObjectArray
EmptyTypeArray
NotInstantiablePartLazy

Propriedades

Nome Description
NonDisposableWrapper

Obtém um lento que cria uma instância de DelegatingExportProvider.

NonDisposableWrapperExportAsListOfOne
Resolver

Métodos

Nome Description
CannotInstantiatePartWithNoImportingConstructor()
CreateExport(ImportDefinition, IReadOnlyDictionary<String,Object>, TypeRef, TypeRef, String, Boolean, MemberRef)
CreateExportFactory(Type, IReadOnlyCollection<String>, Func<KeyValuePair<Object,IDisposable>>, Type, IReadOnlyDictionary<String,Object>)
CreateNewValue(TypeRef, TypeRef, String, IReadOnlyDictionary<String,Object>)
CreatePartLifecycleTracker(TypeRef, IReadOnlyDictionary<String,Object>)
Dispose()
Dispose(Boolean)
GetExport<T,TMetadataView>()
GetExport<T,TMetadataView>(String)
GetExport<T>()
GetExport<T>(String)
GetExportedValue<T>()
GetExportedValue<T>(String)
GetExportedValues(Type, String)
GetExportedValues<T>()
GetExportedValues<T>(String)
GetExports(ImportDefinition)
GetExports(Type, Type, String)
GetExports<T,TMetadataView>()
GetExports<T,TMetadataView>(String)
GetExports<T>()
GetExports<T>(String)
GetExportsCore(ImportDefinition)

Quando implementado por uma classe derivada, retorna um IEnumerable<T> de valores que atendem ao nome do contrato do especificado ImportDefinition.

GetMetadataViewDefaults(Type)

Obtém um dicionário de metadados que descreve todos os valores padrão fornecidos por uma exibição de metadados.

GetMethodWithArity(Type, String, Int32)
GetOrCreateShareableValue(TypeRef, TypeRef, String, IReadOnlyDictionary<String,Object>)
GetOrCreateValue(TypeRef, TypeRef, String, IReadOnlyDictionary<String,Object>, Boolean)
GetOrderMetadata(IReadOnlyDictionary<String,Object>)
GetStrongTypedMetadata(IReadOnlyDictionary<String,Object>, Type)
GetValueFromMember(Object, MemberInfo, Type, Type)

Obtém o valor de algum membro de uma parte.

IsFullyInitializedExportRequiredWhenSettingImport(ExportProvider+PartLifecycleTracker, Boolean, Boolean)

Obtém um valor que indica se uma importação com as características fornecidas deve ser inicialmente satisfeita com uma exportação totalmente pré-inicializada.

TrackDisposableValue(IDisposable, String)

Adiciona um valor a ser descartado quando este ou um ExportProvider pai é descartado.

Implantações explícitas de interface

Nome Description
IDisposableObservable.IsDisposed

Métodos de Extensão

Nome Description
AsExportProvider(ExportProvider)

Cria uma instância de um ExportProvider para fins de compatibilidade com a versão do MEF encontrada no .NET Framework.

Aplica-se a