Class ClassSerializer
A serializer for the GraphBinary type class that takes GremlinType objects as their .NET representation.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Structure.IO.GraphBinary.Types
Assembly: cs.temp.dll.dll
Syntax
public class ClassSerializer : SimpleTypeSerializer<GremlinType>, ITypeSerializer
Constructors
ClassSerializer()
Initializes a new instance of the ClassSerializer class.
Declaration
public ClassSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Currently not supported.
Declaration
protected override Task<GremlinType> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
Task<GremlinType> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<Gremlin.Net.Structure.IO.GraphBinary.Types.GremlinType>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(GremlinType, Stream, GraphBinaryWriter)
Declaration
protected override async Task WriteValueAsync(GremlinType value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
GremlinType | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<Gremlin.Net.Structure.IO.GraphBinary.Types.GremlinType>.WriteValueAsync(Gremlin.Net.Structure.IO.GraphBinary.Types.GremlinType, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)