Click or drag to resize
ReflectionBasedAutoSerializerIsFieldIncluded Method
Controls what fields of a class will be auto serialized by this serializer. Override this method to customize what fields of a class will be auto serialized. The default implementation:
  • excludes NonSerialized fields
  • excludes static fields
  • excludes literal fields
  • excludes readonly fields
All other fields are included. This method is only called the first time it sees a new class. The result will be remembered and used the next time the same class is seen.

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

Parameters

fi
Type: System.ReflectionFieldInfo
the field being considered for serialization
type
Type: SystemType
the original class being serialized that owns this field.

Return Value

Type: Boolean
true if the field should be serialized as a pdx field; false if it should be ignored.
See Also