Class ValueMapper<V, VR, TJVMV, TJVMVR>
KNet extension of ValueMapper<V, VR>
public class ValueMapper<V, VR, TJVMV, TJVMVR> : ValueMapper<TJVMV, TJVMVR>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IValueMapper<TJVMV, TJVMVR>, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IGenericSerDesFactoryApplier
Type Parameters
Vfirst value type
VRjoined value type
TJVMVThe JVM type of
VTJVMVRThe JVM type of
VR
- Inheritance
-
ValueMapper<TJVMV, TJVMVR>ValueMapper<V, VR, TJVMV, TJVMVR>
- Implements
-
IValueMapper<TJVMV, TJVMVR>
- Derived
- Inherited Members
Constructors
ValueMapper()
public ValueMapper()
Properties
Factory
Returns the current IGenericSerDesFactory
protected IGenericSerDesFactory Factory { get; }
Property Value
OnApply
public Func<V, VR> OnApply { get; set; }
Property Value
- Func<V, VR>
Remarks
If OnApply has a value it takes precedence over corresponding class method
Methods
Apply(V)
public virtual VR Apply(V arg0)
Parameters
arg0VV
Returns
- VR
VR
Apply(TJVMV)
public override TJVMVR Apply(TJVMV arg0)
Parameters
arg0TJVMVV
Returns
- TJVMVR
VR
DisposeResult(TJVMVR)
Disposes the results of the Apply(TJVMV) or OnApply operations
protected virtual void DisposeResult(TJVMVR result)
Parameters
resultTJVMVRThe result to be disposed