AggregateExportProvider Class

AggregateExportProvider Class

 

Retrieves exports provided by a collection of ExportProvider objects.

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

System.Object
  System.ComponentModel.Composition.Hosting.ExportProvider
    System.ComponentModel.Composition.Hosting.AggregateExportProvider

type AggregateExportProvider = 
    class
        inherit ExportProvider
        interface IDisposable
    end

NameDescription
System_CAPS_pubmethodAggregateExportProvider(ExportProvider[])

Initializes a new instance of the AggregateExportProvider class.

System_CAPS_pubmethodAggregateExportProvider(IEnumerable<ExportProvider>)

Initializes a new instance of the AggregateExportProvider class.

NameDescription
System_CAPS_pubpropertyProviders

Gets a collection that contains the providers that the AggregateExportProvider object aggregates.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the AggregateExportProvider class.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the AggregateExportProvider class and optionally releases the managed resources.

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.(Inherited from ExportProvider.)

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.(Inherited from ExportProvider.)

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.(Inherited from ExportProvider.)

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.(Inherited from ExportProvider.)

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.(Inherited from ExportProvider.)

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.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExportedValues<'T>()

Gets all the exported objects with the contract name derived from the specified type parameter.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExportedValues<'T>(String)

Gets all the exported objects with the specified contract name.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExports(ImportDefinition)

Gets all exports that match the conditions of the specified import definition.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExports(ImportDefinition, AtomicComposition)

Gets all exports that match the conditions of the specified import definition and composition.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExports(Type, Type, String)

Gets all the exports with the specified contract name.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExports<'T>()

Gets all the exports with the contract name derived from the specified type parameter.(Inherited from ExportProvider.)

System_CAPS_pubmethodGetExports<'T>(String)

Gets all the exports with the specified contract name.(Inherited from ExportProvider.)

System_CAPS_protmethodGetExportsCore(ImportDefinition, AtomicComposition)

Gets all the exports that match the conditions of the specified import.(Overrides ExportProvider.GetExportsCore(ImportDefinition, AtomicComposition).)

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.(Inherited from ExportProvider.)

System_CAPS_protmethodOnExportsChanging(ExportsChangeEventArgs)

Raises the ExportsChanging event.(Inherited from ExportProvider.)

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.(Inherited from ExportProvider.)

NameDescription
System_CAPS_pubeventExportsChanged

Occurs when the exports in the ExportProvider change.(Inherited from ExportProvider.)

System_CAPS_pubeventExportsChanging

Occurs when the provided exports are changing.(Inherited from ExportProvider.)

System_CAPS_importantImportant

This type implements the IDisposable interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its Dispose method in a try/catch block. To dispose of it indirectly, use a language construct such as using (in C#) or Using (in Visual Basic). For more information, see the “Using an Object that Implements IDisposable” section in the IDisposable interface topic.

.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:
© 2016 Microsoft