Version 3.3.1.2

ArrayListFormatter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class ArrayListFormatter : BaseFormatter<ArrayList>, IFormatter<ArrayList>, IFormatter
Custom formatter for the type System.Collections.ArrayList.
Inheritance
  • System.Object
  • BaseFormatter<System.Collections.ArrayList>
  • ArrayListFormatter

Constructors

ArrayListFormatter()
public ArrayListFormatter()

Methods

DeserializeImplementation(ref ArrayList, IDataReader)
Provides the actual implementation for deserializing a value of type .
protected override void DeserializeImplementation(ref ArrayList value, IDataReader reader)
Parameters
System.Collections.ArrayList value

The uninitialized value to serialize into. This value will have been created earlier using GetUninitializedObject().

Sirenix.Serialization.IDataReader reader

The reader to deserialize with.

GetUninitializedObject()
Returns null.
protected override ArrayList GetUninitializedObject()
Returns
System.Collections.ArrayList

A null value.

SerializeImplementation(ref ArrayList, IDataWriter)
Provides the actual implementation for serializing a value of type .
protected override void SerializeImplementation(ref ArrayList value, IDataWriter writer)
Parameters
System.Collections.ArrayList value

The value to serialize.

Sirenix.Serialization.IDataWriter writer

The writer to serialize with.