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

.NET Framework (current version)
 

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

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

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

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.

Return to top
Show: