Factory<TParam1,TParam2,TParam3,TInstance> 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 TInstance
的執行個體。
public delegate TInstance Factory<in TParam1,in TParam2,in TParam3,out TInstance>(TParam1 param1, TParam2 param2, TParam3 param3);
type Factory<'TParam1, 'TParam2, 'TParam3, 'Instance> = delegate of 'TParam1 * 'TParam2 * 'TParam3 -> 'Instance
Public Delegate Function Factory(Of In TParam1, In TParam2, In TParam3, Out TInstance)(param1 As TParam1, param2 As TParam2, param3 As TParam3) As TInstance
類型參數
參數
- param1
- TParam1
- param2
- TParam2
- param3
- TParam3
傳回值
TInstance
執行個體。