DotNetOutdatedVersionLock Class

Summary

Specifies whether a package is locked to its current major or minor version (--version-lock).
Assembly
Cake.DotNetOutdated.dll
Namespace
Cake.DotNetOutdated
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["DotNetOutdatedVersionLock"] class Type type-node

Syntax

public sealed class DotNetOutdatedVersionLock : Enum

Fields

Name Constant Value Summary
Major 1
Lock to the current major version.
static
Minor 2
Lock to the current minor version.
static
None 0
Do not lock the version (tool default).
static
value__

Extension Methods

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