Skip to main content

MLAPI.Serialization.SerializationManager.CustomSerializationDelegate-1

The delegate used when registering custom serialization for a type.

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public delegate void CustomSerializationDelegate<T>(Stream stream, T instance);
Parameters#
TypeNameDescription
System.IO.Stream*streamThe stream to write data to that is required to reconstruct the type in the deserialization delegate.
T*instanceThe instance to serialize to the stream.
Type Parameters#
NameDescription
TThe type to serialize.