Class BulkSetSerializer<TList>
A serializer for the GraphBinary type BulkSet that gets converted to TList.
Implements
Inherited Members
Namespace: Gremlin.Net.Structure.IO.GraphBinary.Types
Assembly: Gremlin.Net.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 Task<TList> ReadValueAsync(Stream stream, GraphBinaryReader reader, CancellationToken cancellationToken = default)
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 |
|---|---|
| Task<TList> | The read value. |
Overrides
WriteValueAsync(TList, Stream, GraphBinaryWriter, CancellationToken)
Currently not supported.
Declaration
protected override Task WriteValueAsync(TList value, Stream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TList | value | |
| Stream | stream | |
| GraphBinaryWriter | writer | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |