BinarySizeConverter(BinarySizeOptions) Constructor

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

Definition

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

Parameters

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

Remarks

When converting from a string, the options will be passed to the BinarySizeParse(ReadOnlySpanChar, BinarySizeOptions, NumberStyles, IFormatProvider) method.

See Also