Method TryParse
- Namespace
- Ubiquity.NET.Versioning
- Assembly
- Ubiquity.NET.Versioning.dll
TryParse(string?, IFormatProvider?, out SemVer)
Tries to parse a string into a value.
public static bool TryParse(string? s, IFormatProvider? provider, out SemVer result)
Parameters
s
stringThe string to parse.
provider
IFormatProviderAn object that provides culture-specific formatting information about
s
.result
SemVerWhen this method returns, contains the result of successfully parsing
s
or an undefined value on failure.