Table of Contents

Class AvroDecimalAttribute

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

The precision and scale of a decimal member, which Avro's decimal needs.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class AvroDecimalAttribute : Attribute
Inheritance
AvroDecimalAttribute
Inherited Members

Constructors

AvroDecimalAttribute(int, int)

Initializes a new instance of the AvroDecimalAttribute class.

Properties

Precision

Gets the number of digits.

Scale

Gets the digits after the decimal point.