Пример #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 UIntPtr ParseUIntPtrInvariant(this ReadOnlySpan <char> value, NumberStyles style = NumberStyles.Integer)
 => UIntPtrExt.Parse(value, style, CultureInfo.InvariantCulture);
Пример #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 UIntPtr ParseUIntPtr(this ReadOnlySpan <char> value, NumberStyles style = NumberStyles.Integer, IFormatProvider?provider = default)
 => UIntPtrExt.Parse(value, style, provider);
Пример #5
0
 public static bool TryParseUIntPtrInvariant(this string?value, out UIntPtr result, NumberStyles style = NumberStyles.Integer)
 => UIntPtrExt.TryParse(value, style, CultureInfo.InvariantCulture, out result);
Пример #6
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);
Пример #7
0
 public static UIntPtr ParseUIntPtrInvariant(this string value, NumberStyles style = NumberStyles.Integer)
 => UIntPtrExt.Parse(value, style, CultureInfo.InvariantCulture);
Пример #8
0
 public static UIntPtr ParseUIntPtr(this string value, NumberStyles style = NumberStyles.Integer, IFormatProvider?provider = default)
 => UIntPtrExt.Parse(value, style, provider);