Class HumlNumberHandlingAttribute

Namespace
Huml.Net.Serialization
Assembly
Huml.Net.dll

Overrides NumberHandling for the annotated property. Takes precedence over the global option during serialisation and deserialisation.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class HumlNumberHandlingAttribute : Attribute
Inheritance
HumlNumberHandlingAttribute
Inherited Members

Constructors

HumlNumberHandlingAttribute(HumlNumberHandling)

Initialises a new instance specifying the number handling mode.

public HumlNumberHandlingAttribute(HumlNumberHandling handling)

Parameters

handling HumlNumberHandling

The number handling mode for this property.

Properties

Handling

The per-member number handling mode.

public HumlNumberHandling Handling { get; }

Property Value

HumlNumberHandling