Example #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;
Example #2
0
 public static bool TryParseUIntPtrInvariant(this string?value, out UIntPtr result, NumberStyles style = NumberStyles.Integer)
 => UIntPtrExt.TryParse(value, style, CultureInfo.InvariantCulture, out result);
Example #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;
Example #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);