Register derived field handler.
Namespace: NReco.PivotData.Input
Assembly: NReco.PivotData.Extensions (in NReco.PivotData.Extensions.dll) Version: 1.6.1
Syntax
public DerivedValueSource Register( string fieldName, Func<Func<Object, string, Object>, Func<Object, string, Object>> getValueHandler )
Parameters
- fieldName
- Type: SystemString
resulting field name - getValueHandler
- Type: SystemFuncFuncObject, String, Object, FuncObject, String, Object
handler that accepts original field accessor and returns accessor for derived field value
Return Value
Type: DerivedValueSourcecurrent instance of DerivedValueSource (useful for chaining Register calls)
See Also