VolumeUnit Class

Summary

Assembly
Cake.7zip.dll
Namespace
Cake.SevenZip.Switches
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VolumeUnit"] class Type type-node

Syntax

public sealed class VolumeUnit

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Properties

Name Value Summary
Bytes VolumeUnit
Gets Unit: Bytes (b).
static
Gigabytes VolumeUnit
Gets Unit: Gigabytes (g).
static
Kilobytes VolumeUnit
Gets Unit: Kilobytes (k).
static
Megabytes VolumeUnit
Gets Unit: Megabytes (m).
static

Methods

Name Value Summary
ToString() string
Converts to string.

Extension Methods

Name Value Summary
Dump<VolumeUnit>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<VolumeUnit>(VolumeUnit[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<VolumeUnit>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<VolumeUnit>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<VolumeUnit>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<VolumeUnit>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin