Table of Contents

Method CompareTo

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

CompareTo(HarpVersion)

Performs a comparison with another version object and returns a value indicating whether this version is less than, equal, or greater than the other.

public int CompareTo(HarpVersion other)

Parameters

other HarpVersion

The version object to compare with.

Returns

int

A negative number if this version is lower than the other version; zero if it is the same version; a positive number if this version is higher than the other version. Floating wildcards are always smaller for the purposes of ordering.