BuildahArgument Class

Summary

Represents an agnostic argument.
Assembly
Cake.Buildah.dll
Namespace
Cake.Buildah
Interfaces
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IEquatable<BuildahArgument>"] Type["BuildahArgument"] class Type type-node

Syntax

public sealed class BuildahArgument : ValueType, IEquatable<BuildahArgument>

Attributes

Type Description
NullableContextAttribute
NullableAttribute
IsReadOnlyAttribute

Constructors

Name Summary
BuildahArgument(string, string, BuildahArgumentQuoting) Initializes a new instance of the BuildahArgument struct. Constructor.

Properties

Name Value Summary
Key string
Gets key part of the argument.
Quoting BuildahArgumentQuoting
Gets the required quoting mode.
Value string
Gets value part of the argument.

Methods

Name Value Summary
Deconstruct(string, string, BuildahArgumentQuoting) void
Deconstruction Support.
Equals() bool
Compares this instance to another instance of BuildahArgument.
Equals(BuildahArgument) bool
Compares this instance to another instance of BuildahArgument.
Equals(object) bool
Compares this instance to another instance of BuildahArgument.
GetHashCode() int
Gets the has code.

Operators

Name Value Summary
operator !=(BuildahArgument, BuildahArgument) bool
operator ==(BuildahArgument, BuildahArgument) bool

Extension Methods

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