StatefulCustomMappingFactory<TSrc,TDst,TState> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這是有狀態自訂映射工廠的基礎類型。
public abstract class StatefulCustomMappingFactory<TSrc,TDst,TState> where TSrc : class, new() where TDst : class, new() where TState : class, new()
type StatefulCustomMappingFactory<'Src, 'Dst, 'State (requires 'Src : null and 'Src : (new : unit -> 'Src) and 'Dst : null and 'Dst : (new : unit -> 'Dst) and 'State : null and 'State : (new : unit -> 'State))> = class
Public MustInherit Class StatefulCustomMappingFactory(Of TSrc, TDst, TState)
類型參數
- TSrc
描述從輸入 IDataView中消耗的「來源」欄位的類型。
- TDst
描述此轉換新增欄位的類型。
- TState
描述映射所使用的狀態物件的類型。
- 繼承
-
StatefulCustomMappingFactory<TSrc,TDst,TState>
建構函式
| 名稱 | Description |
|---|---|
| StatefulCustomMappingFactory<TSrc,TDst,TState>() |
這是有狀態自訂映射工廠的基礎類型。 |
方法
| 名稱 | Description |
|---|---|
| GetMapping() |
回傳將輸入與類型 |
| GetStateInitAction() |
回傳一個在列游標初始化前會呼叫一次的動作,以初始化游標所使用的狀態物件。 |