Table of Contents

Interface ISizeConversionOptions

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

Options for how to convert time to a different unit.

public interface ISizeConversionOptions

Examples

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

Remarks

ExampleMetadata: infused

Properties

Rounding

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

SizeRoundingBehavior? Rounding { get; }

Property Value

SizeRoundingBehavior?

Remarks

Default: SizeRoundingBehavior.FAIL