Method Parse
- Namespace
- Ubiquity.NET.Versioning
- Assembly
- Ubiquity.NET.Versioning.dll
Parse(string, IFormatProvider?)
Parses a string into a value.
public static SemVer Parse(string s, IFormatProvider? provider)
Parameters
s
stringThe string to parse.
provider
IFormatProviderAn object that provides culture-specific formatting information about
s
.
Returns
- SemVer
The result of parsing
s
.
Exceptions
- ArgumentNullException
s
is null.- FormatException
s
is not in the correct format.- OverflowException
s
is not representable by SemVer.