Version 3.3.1.2

GuidSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class GuidSerializer : Serializer<Guid>
Serializer for the System.Guid type.
Inheritance

Constructors

GuidSerializer()
public GuidSerializer()

Methods

ReadValue(IDataReader)
Reads a value of type System.Guid.
public override Guid ReadValue(IDataReader reader)
Parameters
Sirenix.Serialization.IDataReader reader

The reader to use.

Returns
System.Guid

The value which has been read.

WriteValue(String, Guid, IDataWriter)
Writes a value of type System.Guid.
public override void WriteValue(string name, Guid value, IDataWriter writer)
Parameters
System.String name

The name of the value to write.

System.Guid value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.