VMware Tanzu GemFire .NET Client API Reference

VMware Tanzu GemFire .NET Client: IReflectionBasedAutoSerializer Interface Reference
VMware Tanzu GemFire .NET Client
IReflectionBasedAutoSerializer Interface Reference

Interface for reflection based automatic serializer More...

Inheritance diagram for IReflectionBasedAutoSerializer:
IPdxSerializer

Public Member Functions

object CreateObject (string classname, ITypeRegistry typeRegistry)
 Object creation method More...
 
string GetFieldName (FieldInfo fieldInfo, Type type)
 Method to extract field name from FieldInfo and Type More...
 
bool IsFieldIncluded (FieldInfo fieldInfo, Type type)
 Method to extract field inclusion from FieldInfo and Type More...
 
object WriteTransform (FieldInfo fieldInfo, Type type, object originalValue)
 Controls what field value is written during auto serialization. Override this method to customize the data that will be written during auto serialization. More...
 
- Public Member Functions inherited from IPdxSerializer
bool ToData (object o, IPdxWriter writer)
 Serializes this object in geode PDX format. More...
 
object FromData (string classname, IPdxReader reader)
 Deserialize this object. More...
 

Properties

string ClassPattern [get, set]
 Accessor for class pattern for domain object e.g. com.example.domain More...
 

Detailed Description

Interface for reflection based automatic serializer

Member Function Documentation

◆ CreateObject()

object IReflectionBasedAutoSerializer.CreateObject ( string  classname,
ITypeRegistry  typeRegistry 
)

Object creation method

Parameters
classnameclass to be created
typeRegistryregistry with creation delegate method
Returns

◆ GetFieldName()

string IReflectionBasedAutoSerializer.GetFieldName ( FieldInfo  fieldInfo,
Type  type 
)

Method to extract field name from FieldInfo and Type

Parameters
fieldInfo
type
Returns
field name

◆ IsFieldIncluded()

bool IReflectionBasedAutoSerializer.IsFieldIncluded ( FieldInfo  fieldInfo,
Type  type 
)

Method to extract field inclusion from FieldInfo and Type

Parameters
fieldInfo
type
Returns
inclusion status of field

◆ WriteTransform()

object IReflectionBasedAutoSerializer.WriteTransform ( FieldInfo  fieldInfo,
Type  type,
object  originalValue 
)

Controls what field value is written during auto serialization. Override this method to customize the data that will be written during auto serialization.

Parameters
fieldInfo
type
originalValue
Returns

Property Documentation

◆ ClassPattern

string IReflectionBasedAutoSerializer.ClassPattern
getset

Accessor for class pattern for domain object e.g. com.example.domain


The documentation for this interface was generated from the following file:
  • gemfire.client/Interfaces/IReflectionBasedAutoSerializer.cs