ExportDescriptorProvider::GetExportDescriptors Method (CompositionContract^, DependencyAccessor^)

.NET Framework (current version)
 

Promises export descriptors for the specified export key.

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

public:
virtual IEnumerable<ExportDescriptorPromise^>^ GetExportDescriptors(
	CompositionContract^ contract,
	DependencyAccessor^ descriptorAccessor
) abstract

Parameters

contract
Type: System.Composition.Hosting.Core::CompositionContract^

The export key required.

descriptorAccessor
Type: System.Composition.Hosting.Core::DependencyAccessor^

An accessor for the other descriptors in the composition.

Return Value

Type: System.Collections.Generic::IEnumerable<ExportDescriptorPromise^>^

A collection of promises for new export descriptors.

Return to top
Show: