The ICustomArrayType interface defines a custom array type that can be read or written by the Serializer instance.
The Serializer contains a TypeFactory property (IROSerializerTypeFactory type). This type factory allows to instantiate custom types not defined in the RODL while reading the incoming data stream. TypeFactory and correspondong interfaces also allow to implement a consistent way of serializing custom data types via standard RemObjects serializers like BinSerializer. This can be useful for integrating third-party libraries like ORM.
- Assembly: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
Type of the objects contained in this ICustomArrayType instance.
Name of the array element type.
This method is called by the Serializer instance after it finishes to deserialize an object from the data stream. This method can be used to perform consistency checks, client-side calculations, etc.
This method is called by the Serializer instance after it finishes to serialize the current ICustomArrayType instance. This method can be used to perform cleanup actions like disposing helper objects, etc.
This method is called by the Serializer instance before it starts to deserialize an object from the data stream. This method can be used to perform preparations like memory allocating, helper objects creation, etc.
This method is called by the Serializer instance before it starts to serialize the current ICustomArrayType instance. Like the BeforeReadArray method, it can be used to perform preparation actions.
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK shared: Data Types – File Types
- other editions