Class BulkSetSerializer<TList>
A serializer for the GraphBinary type BulkSet that gets converted to TList
.
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 BulkSetSerializer<TList> : SimpleTypeSerializer<TList>, ITypeSerializer where TList : IList, new()
Type Parameters
Name | Description |
---|---|
TList | The type of the list to convert the BulkSet into. |
Constructors
BulkSetSerializer()
Initializes a new instance of the BulkSetSerializer<TList> class.
Declaration
public BulkSetSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader, CancellationToken)
Reads a non-nullable value according to the type format.
Declaration
protected override async Task<TList> ReadValueAsync(Stream stream, GraphBinaryReader reader, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The GraphBinary data to parse. |
GraphBinaryReader | reader | |
CancellationToken | cancellationToken | The token to cancel the operation. The default value is None. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TList> | The read value. |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<TList>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader, CancellationToken)
WriteValueAsync(TList, Stream, GraphBinaryWriter, CancellationToken)
Currently not supported.
Declaration
protected override Task WriteValueAsync(TList value, Stream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
TList | value | |
Stream | stream | |
GraphBinaryWriter | writer | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<TList>.WriteValueAsync(TList, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter, CancellationToken)