ReflectionBasedAutoSerializer IsFieldIncluded Method Pivotal GemFire .NET Client Documentation
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: 8.1.0.0
Syntax

public virtual bool IsFieldIncluded(
	FieldInfo fi,
	Type type
)

Parameters

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

Return Value

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