VMware Tanzu GemFire .NET Client API Reference
IPdxSerializer Interface Reference
The IPdxSerializer interface allows domain classes to be serialized and deserialized as PDXs without modification of the domain class. A domain class should register delgate ITypeRegistry.RegisterPdxType to create new instance of type for de-serialization. More...
Inheritance diagram for IPdxSerializer:
Public Member Functions | |
| bool | ToData (object o, IPdxWriter writer) |
| Serializes this object in geode PDX format. More... | |
| object | FromData (string classname, IPdxReader reader) |
| Deserialize this object. More... | |
Detailed Description
The IPdxSerializer interface allows domain classes to be serialized and deserialized as PDXs without modification of the domain class. A domain class should register delgate ITypeRegistry.RegisterPdxType to create new instance of type for de-serialization.
Member Function Documentation
◆ FromData()
| object IPdxSerializer.FromData | ( | string | classname, |
| IPdxReader | reader | ||
| ) |
Deserialize this object.
- Parameters
-
classname the classname whose object need to de-serialize reader the IPdxReader stream to use for reading the object data
◆ ToData()
| bool IPdxSerializer.ToData | ( | object | o, |
| IPdxWriter | writer | ||
| ) |
Serializes this object in geode PDX format.
- Parameters
-
o the object which need to serialize writer the IPdxWriter object to use for serializing the object
The documentation for this interface was generated from the following file:
- gemfire.client/Interfaces/IPdxSerializer.cs

