Class TypeSerializerRegistry.Builder
The builder of a TypeSerializerRegistry.
Inheritance
System.Object
TypeSerializerRegistry.Builder
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
Assembly: cs.temp.dll.dll
Syntax
public class Builder
Methods
AddCustomType(Type, CustomTypeSerializer)
Adds a serializer for a custom type.
Declaration
public TypeSerializerRegistry.Builder AddCustomType(Type type, CustomTypeSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The custom type supported by the serializer. |
CustomTypeSerializer | serializer | The serializer for the custom type. |
Returns
Type | Description |
---|---|
TypeSerializerRegistry.Builder |
Create()
Creates the TypeSerializerRegistry.
Declaration
public TypeSerializerRegistry Create()
Returns
Type | Description |
---|---|
TypeSerializerRegistry |