DotNetContainerAppCommandInstruction Enum

Summary

Contains how the app command is set in the container image, i.e. the ContainerAppCommandInstruction MSBuild property.
Namespace
Cake.Common.Tools.DotNet.Publish
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["DotNetContainerAppCommandInstruction"] class Type type-node

Syntax

public enum DotNetContainerAppCommandInstruction

Fields

Name Constant Value Summary
DefaultArgs 0
The app command is set as the default arguments (CMD), keeping the base image entrypoint.
static
Entrypoint 1
The app command is set as the entrypoint.
static
None 2
The app command is not set.
static

Extension Methods

Name Value Summary
Dump<DotNetContainerAppCommandInstruction>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetContainerAppCommandInstruction>(DotNetContainerAppCommandInstruction[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<DotNetContainerAppCommandInstruction>(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<DotNetContainerAppCommandInstruction>(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
ToStringWithNullMarkup() string
Requires the Cake.Issues addin