Esempio n. 1
0
 public static UIntPtr?TryParseUIntPtrInvariant(this ReadOnlySpan <char> value, NumberStyles style = NumberStyles.Integer)
 => UIntPtrExt.TryParse(value, style, CultureInfo.InvariantCulture, out UIntPtr result) ? result : null;
Esempio n. 2
0
 public static bool TryParseUIntPtrInvariant(this string?value, out UIntPtr result, NumberStyles style = NumberStyles.Integer)
 => UIntPtrExt.TryParse(value, style, CultureInfo.InvariantCulture, out result);
Esempio n. 3
0
 public static UIntPtr?TryParseUIntPtr(this ReadOnlySpan <char> value, NumberStyles style = NumberStyles.Integer, IFormatProvider?provider = default)
 => UIntPtrExt.TryParse(value, style, provider, out UIntPtr result) ? result : null;
Esempio n. 4
0
 public static bool TryParseUIntPtr(this string?value, out UIntPtr result, NumberStyles style = NumberStyles.Integer, IFormatProvider?provider = default)
 => UIntPtrExt.TryParse(value, style, provider, out result);