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

.NET Framework (current version)
 

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

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

public:
ExportFactory(
	Func<Tuple<T, Action^>^>^ exportLifetimeContextCreator
)

Parameters

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

A function that returns the exported value and an Action that releases it.

.NET Framework
Available since 4.5
Silverlight
Available since 4.0
Return to top
Show: