ICustomArrayType Interface

This is a Library topic for RemObjects SDK for .NET
This page is generated from external data, please do not update
Namespaces — Interfaces — Classes — Enums — Implements
Contents |
Overview
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.
Location
- Assembly: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
Properties
| ElementType |
|---|
|
Type of the objects contained in this ICustomArrayType instance.
|
| ElementTypeName |
|
Name of the array element type.
|
Required Methods
| AfterReadArray |
|---|
|
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.
|
| AfterWriteArray |
|
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.
|
| BeforeReadArray |
|
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.
|
| BeforeWriteArray |
|
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.
|
See Also
- Lists
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK shared: Data Types – File Types
- other editions
- RemObjects SDK for Xcode: Protocols — Classes — Enums — Aliases — Implements
- RemObjects SDK for Delphi: Interfaces — Classes — Aliases — Implements
- RemObjects SDK for Java: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for JavaScript: Objects

Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript