IContentSerializer<T> Interface
Namespace: Stride.Core.Serialization.ContentsAssembly: Stride.Core.Serialization.dll
A IContentSerializer with a specific runtime type.
public interface IContentSerializer<T> : IContentSerializer
Type Parameters
Name | Description |
---|---|
T | Runtime type being serialized. Expected to match ActualType |
Name | Description | |
---|---|---|
Methods | ||
Serialize(ContentSerializerContext, SerializationStream, T) |
Methods
Serialize(ContentSerializerContext, SerializationStream, T)
void Serialize(ContentSerializerContext context, SerializationStream stream, T obj)
Parameters
Type | Name | Description |
---|---|---|
ContentSerializerContext | context | |
SerializationStream | stream | |
T | obj |