CompareTo(SemanticVersion, bool) Method

Summary

Compares this version to value, optionally excluding the pre-release tag from the comparison.
Assembly
GitVersion.Core.dll
Namespace
GitVersion
Containing Type
SemanticVersion

Syntax

public int CompareTo(SemanticVersion value, bool includePreRelease)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
value SemanticVersion
includePreRelease bool

Return Value

Type Description
int