2using System.Globalization;
16 public Type
From => typeof(
string);
21 public Type
To => typeof(ulong);
38 if (Value is
string s && ulong.TryParse(s, NumberStyles.Integer,
null, out ulong i))
59 if (Value is
string s && ulong.TryParse(s, NumberStyles.Integer,
null, out ulong i))
Converts string values to 64-bit unsigned integer values.
Type To
Converter converts objects to this type.
bool TryConvert(object Value, out object Result)
Converts the object in Value to an object of type To.
double Weight
Weight of the converter. An estimate of how well the converter performs, or how much information is r...
Type From
Converts string values to 64-bit unsigned integer values.
bool TryConvertToElement(object Value, out IElement Result)
Converts the object in Value to an object of type To, encapsulated in an IElement.
Basic interface for all types of elements.
Converts an object of one type to an object of another type.