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