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
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
ToString() 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.Issues addin
NotNull<MinVerVersion>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<MinVerVersion>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator 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