共用方式為


ExportFactory<T>(Func<Tuple<T,Action>>) 建構函式

定義

初始化 ExportFactory<T> 類別的新執行個體。

public:
 ExportFactory(Func<Tuple<T, Action ^> ^> ^ exportLifetimeContextCreator);
public ExportFactory (Func<Tuple<T,Action>> exportLifetimeContextCreator);
new System.ComponentModel.Composition.ExportFactory<'T> : Func<'T * Action> -> System.ComponentModel.Composition.ExportFactory<'T>
Public Sub New (exportLifetimeContextCreator As Func(Of Tuple(Of T, Action)))

參數

exportLifetimeContextCreator
Func<Tuple<T,Action>>

函式,這個函式會傳回匯出值和釋放它的 Action

適用於