ExportFactory<T, TMetadata> Constructor (Func<Tuple<T, Action^>^>^, TMetadata)
.NET Framework (current version)
Initializes a new instance of the ExportFactory<T, TMetadata> class.
Assembly: System.Composition.Runtime (in System.Composition.Runtime.dll)
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.
Show: