SemanticVersionFormat Enum

Summary

Controls the leniency applied when parsing semantic version strings.
Namespace
GitVersion
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["SemanticVersionFormat"] class Type type-node

Syntax

public enum SemanticVersionFormat

Fields

Name Constant Value Summary
Loose 1
Accepts a wider range of version string formats, including four-part and partially-specified versions.
static
Strict 0
Parses only fully SemVer 2.0-compliant version strings.
static
GitHub