Click or drag to resize
ReflectionBasedAutoSerializerWriteTransform Method
Controls what field value is written during auto serialization. Override this method to customize the data that will be written during auto serialization.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public virtual Object WriteTransform(
	FieldInfo fi,
	Type type,
	Object originalValue
)

Parameters

fi
Type: System.ReflectionFieldInfo
the field in question
type
Type: SystemType
the original class being serialized that owns this field.
originalValue
Type: SystemObject
the value of the field that was read from the domain object.

Return Value

Type: Object
the actual value to write for this field. Return
originalValue
if you decide not to transform the value.
See Also