Summary
Contains the roll forward policy to be used.
- Namespace
- Cake
.Common .Tools .DotNet - 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["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 |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|