Summary
Parses version as a semantic version, throwing when the input cannot be parsed.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Containing Type
- SemanticVersion
Syntax
public static SemanticVersion Parse(string version, string tagPrefixRegex, SemanticVersionFormat versionFormat = 0)
Parameters
| Name | Type | Description |
|---|---|---|
| version | string | |
| tagPrefixRegex | string | |
| versionFormat | Semantic |
Return Value
| Type | Description |
|---|---|
| SemanticVersion |