Show / Hide Table of Contents

Interface ISizeConversionOptions

Options for how to convert time to a different unit.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISizeConversionOptions
Syntax (vb)
Public Interface ISizeConversionOptions
Remarks

ExampleMetadata: infused

Examples
Size.Mebibytes(2).ToKibibytes(); // yields 2048
            Size.Kibibytes(2050).ToMebibytes(new SizeConversionOptions { Rounding = SizeRoundingBehavior.FLOOR });

Synopsis

Properties

Rounding

How conversions should behave when it encounters a non-integer result.

Properties

Rounding

How conversions should behave when it encounters a non-integer result.

SizeRoundingBehavior? Rounding { get; }
Property Value

SizeRoundingBehavior?

Remarks

Default: SizeRoundingBehavior.FAIL

Back to top Generated by DocFX