ExportLifetimeContext<T> Constructor (T, Action)

.NET Framework (current version)
 

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

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

public ExportLifetimeContext(
	T value,
	Action disposeAction
)

Parameters

value
Type: T

The exported value.

disposeAction
Type: System.Action

A reference to a method to release the object.

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