MinVerVersion Class

Summary

The version returned by MinVer
Assembly
Cake.MinVer.dll
Namespace
Cake.MinVer
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IComparable<MinVerVersion>"] Type["MinVerVersion"] class Type type-node

Syntax

public class MinVerVersion : IComparable<MinVerVersion>

Constructors

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

Properties

Name Value Summary
AssemblyVersion string
Major.0.0.0
BuildMetadata string
The Build metadata extension
FileVersion string
InformationalVersion string
The original, non-normalized version string. Same as Version
IsPreRelease bool
Returns when PreRelease is not null or empty otherwise
Major int
The Major version number
Minor int
The Minor version number
PackageVersion string
The original, non-normalized version string. Same as Version
Patch int
The Patch version number
PreRelease string
The Pre-release extension
Version string
The original, non-normalized version string

Methods

Name Value Summary
CompareTo(MinVerVersion) int
GetHashCode() int
Parse(string) MinVerVersion
Converts the specified string representation of MinVer-compatible version to its MinVerVersion equivalent.
static
ToString() string
TryParse(string, MinVerVersion) bool
Converts the specified string representation of MinVer-compatible version to its MinVerVersion equivalent and returns a value that indicates whether the conversion succeeded.
static

Operators

Name Value Summary
implicit operator string(MinVerVersion) string

Extension Methods

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