DotNetRollForward Enum

Summary

Contains the roll forward policy to be used.
Namespace
Cake.Common.Tools.DotNet
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["DotNetRollForward"] class Type type-node

Syntax

public enum DotNetRollForward

Fields

Name Constant Value Summary
Disable 5
Don't roll forward. Only bind to specified version.
static
LatestMajor 4
Roll forward to highest major and highest minor version, even if requested major is present.
static
LatestMinor 3
Roll forward to highest minor version, even if requested minor version is present.
static
LatestPatch 1
Roll forward to the highest patch version. This disables minor version roll forward.
static
Major 2
Roll forward to lowest higher major version, and lowest minor version, if requested major version is missing.
static
Minor 0
Roll forward to the lowest higher minor version, if requested minor version is missing.
static

Extension Methods

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