DockerArgument Class

Summary

Represents an agnostic argument.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type["DockerArgument"] class Type type-node

Syntax

public sealed class DockerArgument : ValueType

Constructors

Properties

Name Value Summary
Key string
Key part of the argument
Quoting DockerArgumentQuoting
The required quoting mode.
Value string
Value part of the argument.

Extension Methods

Name Value Summary
Dump<DockerArgument>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DockerArgument>(DockerArgument[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DockerArgument>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DockerArgument>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DockerArgument>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DockerArgument>(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