Class TypeSerializer
A serializer for .NET types represented as Class in GraphBinary. Currently only
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 TypeSerializer : SimpleTypeSerializer<Type>, ITypeSerializer
Constructors
TypeSerializer()
Initializes a new instance of the TypeSerializer class.
Declaration
public TypeSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader)
Currently not supported.
Declaration
protected override Task<Type> ReadValueAsync(Stream stream, GraphBinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader |
Returns
Type | Description |
---|---|
Task<System.Type> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.Type>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader)
WriteValueAsync(Type, Stream, GraphBinaryWriter)
Declaration
protected override async Task WriteValueAsync(Type value, Stream stream, GraphBinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Type | value | |
Stream | stream | |
GraphBinaryWriter | writer |
Returns
Type | Description |
---|---|
Task |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<System.Type>.WriteValueAsync(System.Type, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter)