Class TypeSerializerRegistry.Builder
The builder of a TypeSerializerRegistry.
Inherited Members
Namespace: Gremlin.Net.Structure.IO.GraphBinary
Assembly: Gremlin.Net.dll
Syntax
public class TypeSerializerRegistry.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 |
|---|---|---|
| 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 |