Summary
Attempts to parse version as a semantic version, returning
true on success.- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Containing Type
- SemanticVersion
Syntax
public static bool TryParse(string version, string tagPrefixRegex, out SemanticVersion semanticVersion, SemanticVersionFormat format = 0)
Attributes
| Type | Description |
|---|---|
| Nullable |
Parameters
| Name | Type | Description |
|---|---|---|
| version | string | |
| tagPrefixRegex | string | |
| semanticVersion | SemanticVersion | |
| format | Semantic |
Return Value
| Type | Description |
|---|---|
| bool |