UBinarySizeJsonConverter(BinarySizeOptions) Constructor

Initializes a new instance of the UBinarySizeJsonConverter class with the specified options.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public UBinarySizeJsonConverter(
	BinarySizeOptions options
)

Parameters

options  BinarySizeOptions
A bitwise combination of BinarySizeOptions values that indicates how units are interpreted when converting from JSON.

Remarks

When converting from JSON, the options will be passed to the UBinarySizeParse(ReadOnlySpanChar, BinarySizeOptions, NumberStyles, IFormatProvider) method.

See Also