ExportProvider Class

 

Retrieves exports which match a specified ImportDefinition object.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)


public abstract class ExportProvider

NameDescription
System_CAPS_protmethodExportProvider()

Initializes a new instance of the ExportProvider class.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetExport<T>()

Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExport<T>(String)

Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExport<T, TMetadataView>()

Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExport<T, TMetadataView>(String)

Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown.

System_CAPS_pubmethodGetExportedValue<T>()

Returns the exported object with the contract name derived from the specified type parameter. If there is not exactly one matching exported object, an exception is thrown.

System_CAPS_pubmethodGetExportedValue<T>(String)

Returns the exported object with the specified contract name. If there is not exactly one matching exported object, an exception is thrown.

System_CAPS_pubmethodGetExportedValueOrDefault<T>()

Gets the exported object with the contract name derived from the specified type parameter or the default value for the specified type, or throws an exception if there is more than one matching exported object.

System_CAPS_pubmethodGetExportedValueOrDefault<T>(String)

Gets the exported object with the specified contract name or the default value for the specified type, or throws an exception if there is more than one matching exported object.

System_CAPS_pubmethodGetExportedValues<T>()

Gets all the exported objects with the contract name derived from the specified type parameter.

System_CAPS_pubmethodGetExportedValues<T>(String)

Gets all the exported objects with the specified contract name.

System_CAPS_pubmethodGetExports(ImportDefinition)

Gets all exports that match the conditions of the specified import definition.

System_CAPS_pubmethodGetExports(ImportDefinition, AtomicComposition)

Gets all exports that match the conditions of the specified import definition and composition.

System_CAPS_pubmethodGetExports(Type, Type, String)

Gets all the exports with the specified contract name.

System_CAPS_pubmethodGetExports<T>()

Gets all the exports with the contract name derived from the specified type parameter.

System_CAPS_pubmethodGetExports<T>(String)

Gets all the exports with the specified contract name.

System_CAPS_pubmethodGetExports<T, TMetadataView>()

Gets all the exports with the contract name derived from the specified type parameter.

System_CAPS_pubmethodGetExports<T, TMetadataView>(String)

Gets all the exports with the specified contract name.

System_CAPS_protmethodGetExportsCore(ImportDefinition, AtomicComposition)

Gets all the exports that match the constraint defined by the specified definition.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnExportsChanged(ExportsChangeEventArgs)

Raises the ExportsChanged event.

System_CAPS_protmethodOnExportsChanging(ExportsChangeEventArgs)

Raises the ExportsChanging event.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryGetExports(ImportDefinition, AtomicComposition, IEnumerable<Export>)

Gets all the exports that match the conditions of the specified import.

NameDescription
System_CAPS_pubeventExportsChanged

Occurs when the exports in the ExportProvider change.

System_CAPS_pubeventExportsChanging

Occurs when the provided exports are changing.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: