private FormatUInt32 ( uint value, String format, |
||
value | uint | |
format | String | |
info | ||
return | String |
public String ToString(String format, IFormatProvider provider) { if (m_value < 0 && format != null && format.Length > 0 && (format[0] == 'X' || format[0] == 'x')) { uint temp = (uint)(m_value & 0x0000FFFF); return(Number.FormatUInt32(temp, format, provider)); } return(Number.FormatInt32(m_value, format, provider)); }
private string ToString(string format, NumberFormatInfo info) { if ((((this >= 0) || (format == null)) || (format.Length <= 0)) || ((format[0] != 'X') && (format[0] != 'x'))) { return(Number.FormatInt32(this, format, info)); } uint num = (uint)(this & 0xffff); return(Number.FormatUInt32(num, format, info)); }
private String ToString(String format, NumberFormatInfo info) { Contract.Ensures(Contract.Result <String>() != null); if (m_value < 0 && format != null && format.Length > 0 && (format[0] == 'X' || format[0] == 'x')) { uint temp = (uint)(m_value & 0x000000FF); return(Number.FormatUInt32(temp, format, info)); } return(Number.FormatInt32(m_value, format, info)); }
public string ToString(string format, IFormatProvider provider) { return(Number.FormatUInt32(m_value, format, provider)); }
public string ToString(string format) { return(Number.FormatUInt32(m_value, format, null)); }
public string ToString(IFormatProvider provider) { return(Number.FormatUInt32(m_value, null, provider)); }
// Converts the current value to a String in base-10 with no extra padding. public override string ToString() { return(Number.FormatUInt32(m_value, null, null)); }
public String ToString(String format, IFormatProvider provider) { return(Number.FormatUInt32(m_value, format, NumberFormatInfo.GetInstance(provider))); }
public String ToString(String format, IFormatProvider provider) { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatUInt32(m_value, format, NumberFormatInfo.GetInstance(provider))); }
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string?format, IFormatProvider?provider) { return(Number.FormatUInt32(m_value, format, provider)); }
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string?format) { return(Number.FormatUInt32(m_value, format, null)); }
public string ToString(IFormatProvider provider) { return(Number.FormatUInt32(m_value, null, NumberFormatInfo.GetInstance(provider))); }
public override string ToString() { return(Number.FormatUInt32((uint)this, null, NumberFormatInfo.CurrentInfo)); }
public string ToString(string format, IFormatProvider provider) { return(Number.FormatUInt32((uint)this, format, NumberFormatInfo.GetInstance(provider))); }
public string ToString(string format) { return(Number.FormatUInt32((uint)this, format, NumberFormatInfo.CurrentInfo)); }
// The base 10 representation of the number with no extra padding. public override String ToString() { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatUInt32(m_value, null, NumberFormatInfo.CurrentInfo)); }
public String ToString(String format) { Contract.Ensures(Contract.Result <String>() != null); return(Number.FormatUInt32(m_value, format, NumberFormatInfo.CurrentInfo)); }
// Converts the current value to a String in base-10 with no extra padding. public override String ToString() { return(Number.FormatUInt32(m_value, null, NumberFormatInfo.CurrentInfo)); }
public String ToString(String format) { return(Number.FormatUInt32(m_value, format, NumberFormatInfo.CurrentInfo)); }
//| <include path='docs/doc[@for="UInt16.ToString2"]/*' /> public String ToString(String format) { return(Number.FormatUInt32(m_value, format)); }