Class TraversalStrategySerializer
A traversal strategy serializer.
Inheritance
System.Object
SimpleTypeSerializer<AbstractTraversalStrategy>
TraversalStrategySerializer
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 TraversalStrategySerializer : SimpleTypeSerializer<AbstractTraversalStrategy>, ITypeSerializer
Constructors
TraversalStrategySerializer()
Initializes a new instance of the TraversalStrategySerializer class.
Declaration
public TraversalStrategySerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Currently not supported.
Declaration
protected override Task<AbstractTraversalStrategy> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AbstractTraversalStrategy> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<AbstractTraversalStrategy>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(AbstractTraversalStrategy, Stream, GraphBinaryWriter)
Writes a non-nullable value into a stream.
Declaration
protected override async Task WriteValueAsync(AbstractTraversalStrategy value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
AbstractTraversalStrategy | value | |
Stream | stream | The stream to write to. |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that represents the asynchronous write operation. |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<AbstractTraversalStrategy>.WriteValueAsync(AbstractTraversalStrategy, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)