Export (0) Print
Expand All

ExportFactory<T, TMetadata> Constructor

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

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

public ExportFactory(
	Func<Tuple<T, Action>> exportLifetimeContextCreator,
	TMetadata metadata
)

Parameters

exportLifetimeContextCreator
Type: System.Func<Tuple<T, Action>>
A function that returns the exported value and an Action that releases it.
metadata
Type: TMetadata
The metadata to attach to the created parts.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft