MandatoryOption Class

Summary

Api parameter option to set the version manditory. Default NotMandatory
Assembly
Cake.HockeyApp.dll
Namespace
Cake.HockeyApp
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["MandatoryOption"] class Type type-node

Syntax

public sealed class MandatoryOption : Enum

Fields

Name Constant Value Summary
Mandatory 1
Set the version as mandatory
static
NotMandatory 0
Set the version not mandatory
static
value__

Extension Methods

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