Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExportFactory<T, TMetadata> Constructor (Func<Tuple<T, Action^>^>^, TMetadata)

.NET Framework (current version)
 

Initializes a new instance of the ExportFactory<T, TMetadata> class.

Namespace:   System.Composition
Assembly:  System.Composition.Runtime (in System.Composition.Runtime.dll)

public:
ExportFactory(
	Func<Tuple<T, Action^>^>^ exportCreator,
	TMetadata metadata
)

Parameters

exportCreator
Type: System::Func<Tuple<T, Action^>^>^

A function that returns the exported value in Tuple<T1, T2>::Item1 and an Action that releases it in Tuple<T1, T2>::Item2.

metadata
Type: TMetadata

The metadata to attach to the created parts.

Return to top
Show:
© 2017 Microsoft