Class VertexSerializer
A Vertex serializer.
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 VertexSerializer : SimpleTypeSerializer<Vertex>, ITypeSerializer
Constructors
VertexSerializer()
Initializes a new instance of the VertexSerializer class.
Declaration
public VertexSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Declaration
protected override async Task<Vertex> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
Task<Vertex> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<Gremlin.Net.Structure.Vertex>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(Vertex, Stream, GraphBinaryWriter)
Declaration
protected override async Task WriteValueAsync(Vertex value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Vertex | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<Gremlin.Net.Structure.Vertex>.WriteValueAsync(Gremlin.Net.Structure.Vertex, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)