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. More...
|
|
IEnumerable | Enumerable [get, set] |
| The array More...
|
|
virtual Type | ArrayType [get] |
| Type of the array to create when deserializing More...
|
|
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()
virtual void Avro.Reflect.ArrayHelper.Add |
( |
object |
o | ) |
|
|
inlinevirtual |
Add an element to the array.
- Parameters
-
o | Element to add to the array. |
◆ Clear()
virtual void Avro.Reflect.ArrayHelper.Clear |
( |
| ) |
|
|
inlinevirtual |
◆ Count()
virtual int Avro.Reflect.ArrayHelper.Count |
( |
| ) |
|
|
inlinevirtual |
Return the number of elements in the array.
◆ ArrayType
virtual Type Avro.Reflect.ArrayHelper.ArrayType |
|
get |
Type of the array to create when deserializing
◆ DefaultType
Type Avro.Reflect.ArrayHelper.DefaultType |
|
staticgetset |
Collection type to apply by default to all array objects. If not set this defaults to a generic List.
◆ Enumerable
IEnumerable Avro.Reflect.ArrayHelper.Enumerable |
|
getset |
The documentation for this class was generated from the following file:
- src/apache/main/Reflect/ArrayHelper.cs