DurationSerializerBuilderCase class

A serializer builder case that matches DurationLogicalType and attempts to map it to TimeSpan.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class DurationSerializerBuilderCase : Chr.Avro.Serialization.BinarySerializerBuilderCase
BaseBinarySerializerBuilderCase

Constructors

DurationSerializerBuilderCase(IBinaryCodec)
Creates a new duration serializer builder case.

Properties

IBinaryCodec Codec
The codec that generated serializers should use for write operations.

Methods

IBinarySerializerBuildResult BuildExpression(Expression, TypeResolution, Schema, IBinarySerializerBuilderContext)
Builds a duration serializer for a type-schema pair.
Chr.Avro