SemVersion.

CompareTo(SemVersion) Method

Summary

Compares to SemVersion objects to and another.
Namespace
Cake.Common
Containing Type
SemVersion

Syntax

public int CompareTo(SemVersion other)

Parameters

Name Type Description
other SemVersion The SemVersion object we compare with.

Return Value

Type Description
int Return 0 if the objects are identical, 1 if the version is newer and -1 if the version is older.