Ejemplo 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;
Ejemplo 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);
Ejemplo 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;
Ejemplo 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);