Jagamisviis:


Export<T>(T, Action) Constructor

Definition

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

public:
 Export(T value, Action ^ disposeAction);
public Export (T value, Action disposeAction);
new System.Composition.Export<'T> : 'T * Action -> System.Composition.Export<'T>
Public Sub New (value As T, disposeAction As Action)

Parameters

value
T

The exported instance.

disposeAction
Action

An action that will dispose the exported instance.

Applies to