ExportProvider Class

Definition

public abstract class ExportProvider : IDisposable, Microsoft.IDisposableObservable
type ExportProvider = class
    interface IDisposableObservable
    interface IDisposable
Public MustInherit Class ExportProvider
Implements IDisposable, IDisposableObservable
Inheritance
ExportProvider
Derived
Implements

Constructors

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

Fields

EmptyMetadata

A metadata template used by the generated code.

EmptyObjectArray
EmptyTypeArray
NotInstantiablePartLazy

Properties

NonDisposableWrapper

Gets a lazy that creates an instance of DelegatingExportProvider.

NonDisposableWrapperExportAsListOfOne
Resolver

Methods

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)

When implemented by a derived class, returns an IEnumerable<T> of values that satisfy the contract name of the specified ImportDefinition.

GetMetadataViewDefaults(Type)

Gets a dictionary of metadata that describes all the default values supplied by a metadata view.

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)

Gets the value from some member of a part.

IsFullyInitializedExportRequiredWhenSettingImport(ExportProvider+PartLifecycleTracker, Boolean, Boolean)

Gets a value indicating whether an import with the given characteristics must be initially satisfied with a fully pre-initialized export.

TrackDisposableValue(IDisposable, String)

Adds a value to be disposed of when this or a parent ExportProvider is disposed of.

Explicit Interface Implementations

IDisposableObservable.IsDisposed

Extension Methods

AsExportProvider(ExportProvider)

Creates an instance of a ExportProvider for purposes of compatibility with the version of MEF found in the .NET Framework.

Applies to