VMware Tanzu GemFire .NET Client API Reference
IReflectionBasedAutoSerializer Interface Reference
Interface for reflection based automatic serializer More...
Inheritance diagram for IReflectionBasedAutoSerializer:
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
-
classname class to be created typeRegistry registry 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
|
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

Public Member Functions inherited from 