Class to help serialize and deserialize arrays. Arrays need the following methods Count(), Add(), Clear().true This class allows these methods to be specified externally to the collection.
More...
|
static Type | DefaultType [get, set] |
| Collection type to apply by default to all array objects. If not set this defaults to a generic List.
|
|
IEnumerable | Enumerable [get, set] |
| The array.
|
|
virtual Type | ArrayType [get] |
| Type of the array to create when deserializing.
|
|
Class to help serialize and deserialize arrays. Arrays need the following methods Count(), Add(), Clear().true This class allows these methods to be specified externally to the collection.
◆ ArrayHelper()
Avro.Reflect.ArrayHelper.ArrayHelper |
( |
IEnumerable |
enumerable | ) |
|
|
inline |
Constructor.
- Parameters
-
enumerable | Enumerable to initialize this helper with. |
◆ Add()
Add an element to the array.
- Parameters
-
o | Element to add to the array. |
◆ Clear()
◆ Count()
Return the number of elements in the array.
The documentation for this class was generated from the following file:
- src/apache/main/Reflect/ArrayHelper.cs