ExportProvider Classe

Definizione

public abstract class ExportProvider : IDisposable, Microsoft.IDisposableObservable
type ExportProvider = class
    interface IDisposableObservable
    interface IDisposable
Public MustInherit Class ExportProvider
Implements IDisposable, IDisposableObservable
Ereditarietà
ExportProvider
Derivato
Implementazioni

Costruttori

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

Campi

Nome Descrizione
EmptyMetadata

Modello di metadati usato dal codice generato.

EmptyObjectArray
EmptyTypeArray
NotInstantiablePartLazy

Proprietà

Nome Descrizione
NonDisposableWrapper

Ottiene una lazy che crea un'istanza di DelegangExportProvider.

NonDisposableWrapperExportAsListOfOne
Resolver

Metodi

Nome Descrizione
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 implementato da una classe derivata, restituisce un IEnumerable<T> valore di valori che soddisfano il nome del contratto dell'oggetto specificato ImportDefinition.

GetMetadataViewDefaults(Type)

Ottiene un dizionario di metadati che descrive tutti i valori predefiniti forniti da una visualizzazione metadati.

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)

Ottiene il valore da un membro di una parte.

IsFullyInitializedExportRequiredWhenSettingImport(ExportProvider+PartLifecycleTracker, Boolean, Boolean)

Ottiene un valore che indica se un'importazione con le caratteristiche indicate deve essere inizialmente soddisfatta con un'esportazione completamente pre-inizializzata.

TrackDisposableValue(IDisposable, String)

Aggiunge un valore da eliminare quando questo o un elemento exportProvider padre viene eliminato.

Implementazioni dell'interfaccia esplicita

Nome Descrizione
IDisposableObservable.IsDisposed

Metodi di estensione

Nome Descrizione
AsExportProvider(ExportProvider)

Crea un'istanza di a ExportProvider scopo di compatibilità con la versione di MEF trovata in .NET Framework.

Si applica a