Class DataContentSerializerWithReuse<T>
- Namespace
- Stride.Core.Serialization.Contents
- Assembly
- Stride.Core.Serialization.dll
ContentSerializer that simply defers serialization to low level serialization, with ReuseReferences set to true.
public class DataContentSerializerWithReuse<T> : DataContentSerializer<T>, IContentSerializer<T>, IContentSerializer where T : new()
Type Parameters
T
The type to serialize.
- Inheritance
-
DataContentSerializerWithReuse<T>
- Implements
- Inherited Members
Methods
Serialize(ContentSerializerContext, SerializationStream, T)
public override void Serialize(ContentSerializerContext context, SerializationStream stream, T obj)
Parameters
context
ContentSerializerContextstream
SerializationStreamobj
T