語言

StatefulCustomMappingFactory<TSrc,TDst,TState> 類別

定義

這是有狀態自訂映射工廠的基礎類型。

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()

回傳將輸入與類型TSrc為 的狀態物件映射TState到TDst輸出的映射代理。

GetStateInitAction()

回傳一個在列游標初始化前會呼叫一次的動作,以初始化游標所使用的狀態物件。

適用於