DotNetCoreRollForward Class

Summary

Contains the roll forward policy to be used.
Namespace
Cake.Common.Tools.DotNetCore
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IEquatable<DotNetCoreRollForward>"] Type-.->Interface1["IComparable"] Type-.->Interface2["IConvertible"] Type-.->Interface3["IFormattable"] Type["DotNetCoreRollForward"] class Type type-node

Syntax

[TypeConverter(typeof(DotNetCoreRollForwardConverter))]
public sealed class DotNetCoreRollForward : IEquatable<DotNetCoreRollForward>, IComparable, 
    IConvertible, IFormattable

Attributes

Type Description
TypeConverter

Constructors

Name Summary
DotNetCoreRollForward() Initializes a new instance of the DotNetCoreRollForward class.

Fields

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

Operators

Name Value Summary
explicit operator int(DotNetCoreRollForward) int
implicit operator DotNetCoreRollForward(DotNetRollForward) DotNetCoreRollForward
implicit operator DotNetRollForward(DotNetCoreRollForward) DotNetRollForward

Extension Methods

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