TimeSpanSerializer Class
Namespace: Stride.Core.Serialization.SerializersAssembly: Stride.Core.dll
Data serializer for TimeSpan.
Derived from TimeSpanSerializer:
[DataSerializerGlobal(typeof(TimeSpanSerializer), null, DataSerializerGenericMode.None, false, false)]
public class TimeSpanSerializer : DataSerializer<TimeSpan>
Name | Description | |
---|---|---|
Methods | ||
Serialize(ref TimeSpan, ArchiveMode, SerializationStream) |
Methods
Serialize(ref TimeSpan, ArchiveMode, SerializationStream)
public override void Serialize(ref TimeSpan timeSpan, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | timeSpan | |
ArchiveMode | mode | |
SerializationStream | stream |
Overrides
Stride.Core.Serialization.DataSerializer<System.TimeSpan>.Serialize(System.TimeSpan, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)