SemanticVersionFormat Class

Summary

Controls the leniency applied when parsing semantic version strings.
Assembly
GitVersion.Core.dll
Namespace
GitVersion
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["SemanticVersionFormat"] class Type type-node

Syntax

public sealed class SemanticVersionFormat : Enum

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
value__

Extension Methods

Name Value Summary
NotNull<SemanticVersionFormat>(string) T
Throws System.ArgumentNullException when value is null; otherwise returns the value.