DataContentSerializerWithReuse<T> Class
Namespace: Stride.Core.Serialization.ContentsAssembly: Stride.Core.Serialization.dll
ContentSerializer that simply defers serialization to low level serialization, with ReuseReferences set to true.
System.Object → ContentSerializerBase<T> → DataContentSerializer<T> →
DataContentSerializerWithReuse<T>
Derived from DataContentSerializerWithReuse<T>:
public class DataContentSerializerWithReuse<T> : DataContentSerializer<T>, IContentSerializer<T>, IContentSerializer where T : new()
Type Parameters
Name | Description |
---|---|
T | The type to serialize. |
Name | Description | |
---|---|---|
Methods | ||
Serialize(ContentSerializerContext, SerializationStream, T) |
Methods
Serialize(ContentSerializerContext, SerializationStream, T)
public override void Serialize(ContentSerializerContext context, SerializationStream stream, T obj)
Parameters
Type | Name | Description |
---|---|---|
ContentSerializerContext | context | |
SerializationStream | stream | |
T | obj |
Overrides
Stride.Core.Serialization.Contents.DataContentSerializer<T>.Serialize(Stride.Core.Serialization.Contents.ContentSerializerContext, Stride.Core.Serialization.SerializationStream, T)