StringSerializerBuilderCase class

A serializer builder case that matches StringSchema and attempts to map it to any provided type.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class StringSerializerBuilderCase : Chr.Avro.Serialization.BinarySerializerBuilderCase
BaseBinarySerializerBuilderCase

Constructors

StringSerializerBuilderCase(IBinaryCodec)
Creates a new string 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 string serializer for a type-schema pair.
Expression GenerateConversion(Expression, Type)
Generates a conversion from the source type to the intermediate type. This override will convert a DateTime, DateTimeOffset, Guid, TimeSpan, or Uri value to a string prior to applying the base implementation.
Chr.Avro