C# Class System.Xml.XmlConverter

显示文件 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
IsNegativeZero bool
IsNegativeZero bool
ToAsciiChars int
ToCharsD2 int
ToCharsD4 int
ToCharsD7 int
ToInfinity int
ToInt32D2 int
ToInt32D4 int
ToInt32D7 int
ToString string
ToZero int
Trim string
TryParseDateTime bool
TryParseDouble bool
TryParseInt32 bool
TryParseInt64 bool
TryParseSingle bool

Public Methods

Method Description
IsWhitespace ( char ch ) : bool
IsWhitespace ( string s ) : bool
StripWhitespace ( string s ) : string
ToBoolean ( byte buffer, int offset, int count ) : bool
ToBoolean ( string value ) : bool
ToBytes ( string value ) : byte[]
ToChars ( System.DateTime value, byte chars, int offset ) : int
ToChars ( System.UInt64 value, byte buffer, int offset ) : int
ToChars ( bool value, byte buffer, int offset ) : int
ToChars ( byte buffer, int offset, int count, char chars, int charOffset ) : int
ToChars ( decimal value, byte buffer, int offset ) : int
ToChars ( double value, byte buffer, int offset ) : int
ToChars ( float value, byte buffer, int offset ) : int
ToChars ( int value, byte chars, int offset ) : int
ToChars ( long value, byte chars, int offset ) : int
ToCharsR ( int value, byte chars, int offset ) : int
ToCharsR ( long value, byte chars, int offset ) : int
ToDateTime ( System.Int64 value ) : System.DateTime
ToDateTime ( byte buffer, int offset, int count ) : System.DateTime
ToDateTime ( string value ) : System.DateTime
ToDecimal ( byte buffer, int offset, int count ) : decimal
ToDecimal ( string value ) : decimal
ToDouble ( byte buffer, int offset, int count ) : double
ToDouble ( string value ) : double
ToGuid ( byte buffer, int offset, int count ) : System.Guid
ToGuid ( string value ) : System.Guid
ToInt32 ( byte buffer, int offset, int count ) : int
ToInt32 ( string value ) : int
ToInt64 ( byte buffer, int offset, int count ) : System.Int64
ToInt64 ( string value ) : System.Int64
ToQualifiedName ( string qname, string &prefix, string &localName ) : void
ToSingle ( byte buffer, int offset, int count ) : float
ToSingle ( string value ) : float
ToString ( System.DateTime value ) : string
ToString ( System.Guid value ) : string
ToString ( System.Int64 value ) : string
ToString ( System.TimeSpan value ) : string
ToString ( System.UInt64 value ) : string
ToString ( UniqueId value ) : string
ToString ( bool value ) : string
ToString ( byte buffer, int offset, int count ) : string
ToString ( decimal value ) : string
ToString ( double value ) : string
ToString ( float value ) : string
ToString ( int value ) : string
ToStringUnicode ( byte buffer, int offset, int count ) : string
ToTimeSpan ( byte buffer, int offset, int count ) : System.TimeSpan
ToTimeSpan ( string value ) : System.TimeSpan
ToUInt64 ( byte buffer, int offset, int count ) : System.UInt64
ToUInt64 ( string value ) : System.UInt64
ToUniqueId ( byte buffer, int offset, int count ) : UniqueId
ToUniqueId ( string value ) : UniqueId

Private Methods

Method Description
IsNegativeZero ( double value ) : bool
IsNegativeZero ( float value ) : bool
ToAsciiChars ( string s, byte buffer, int offset ) : int
ToCharsD2 ( int value, byte chars, int offset ) : int
ToCharsD4 ( int value, byte chars, int offset ) : int
ToCharsD7 ( int value, byte chars, int offset ) : int
ToInfinity ( bool isNegative, byte buffer, int offset ) : int
ToInt32D2 ( byte chars, int offset ) : int
ToInt32D4 ( byte chars, int offset, int count ) : int
ToInt32D7 ( byte chars, int offset, int count ) : int
ToString ( object value ) : string
ToZero ( bool isNegative, byte buffer, int offset ) : int
Trim ( string s ) : string
TryParseDateTime ( byte chars, int offset, int count, System.DateTime &result ) : bool
TryParseDouble ( byte chars, int offset, int count, double &result ) : bool
TryParseInt32 ( byte chars, int offset, int count, int &result ) : bool
TryParseInt64 ( byte chars, int offset, int count, long &result ) : bool
TryParseSingle ( byte chars, int offset, int count, float &result ) : bool

Method Details

IsWhitespace() static public method

static public IsWhitespace ( char ch ) : bool
ch char
return bool

IsWhitespace() static public method

static public IsWhitespace ( string s ) : bool
s string
return bool

StripWhitespace() static public method

static public StripWhitespace ( string s ) : string
s string
return string

ToBoolean() static public method

static public ToBoolean ( byte buffer, int offset, int count ) : bool
buffer byte
offset int
count int
return bool

ToBoolean() static public method

static public ToBoolean ( string value ) : bool
value string
return bool

ToBytes() static public method

static public ToBytes ( string value ) : byte[]
value string
return byte[]

ToChars() static public method

static public ToChars ( System.DateTime value, byte chars, int offset ) : int
value System.DateTime
chars byte
offset int
return int

ToChars() static public method

static public ToChars ( System.UInt64 value, byte buffer, int offset ) : int
value System.UInt64
buffer byte
offset int
return int

ToChars() static public method

static public ToChars ( bool value, byte buffer, int offset ) : int
value bool
buffer byte
offset int
return int

ToChars() static public method

static public ToChars ( byte buffer, int offset, int count, char chars, int charOffset ) : int
buffer byte
offset int
count int
chars char
charOffset int
return int

ToChars() static public method

static public ToChars ( decimal value, byte buffer, int offset ) : int
value decimal
buffer byte
offset int
return int

ToChars() static public method

static public ToChars ( double value, byte buffer, int offset ) : int
value double
buffer byte
offset int
return int

ToChars() static public method

static public ToChars ( float value, byte buffer, int offset ) : int
value float
buffer byte
offset int
return int

ToChars() static public method

static public ToChars ( int value, byte chars, int offset ) : int
value int
chars byte
offset int
return int

ToChars() static public method

static public ToChars ( long value, byte chars, int offset ) : int
value long
chars byte
offset int
return int

ToCharsR() static public method

static public ToCharsR ( int value, byte chars, int offset ) : int
value int
chars byte
offset int
return int

ToCharsR() static public method

static public ToCharsR ( long value, byte chars, int offset ) : int
value long
chars byte
offset int
return int

ToDateTime() static public method

static public ToDateTime ( System.Int64 value ) : System.DateTime
value System.Int64
return System.DateTime

ToDateTime() static public method

static public ToDateTime ( byte buffer, int offset, int count ) : System.DateTime
buffer byte
offset int
count int
return System.DateTime

ToDateTime() static public method

static public ToDateTime ( string value ) : System.DateTime
value string
return System.DateTime

ToDecimal() static public method

static public ToDecimal ( byte buffer, int offset, int count ) : decimal
buffer byte
offset int
count int
return decimal

ToDecimal() static public method

static public ToDecimal ( string value ) : decimal
value string
return decimal

ToDouble() static public method

static public ToDouble ( byte buffer, int offset, int count ) : double
buffer byte
offset int
count int
return double

ToDouble() static public method

static public ToDouble ( string value ) : double
value string
return double

ToGuid() static public method

static public ToGuid ( byte buffer, int offset, int count ) : System.Guid
buffer byte
offset int
count int
return System.Guid

ToGuid() static public method

static public ToGuid ( string value ) : System.Guid
value string
return System.Guid

ToInt32() static public method

static public ToInt32 ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ToInt32() static public method

static public ToInt32 ( string value ) : int
value string
return int

ToInt64() static public method

static public ToInt64 ( byte buffer, int offset, int count ) : System.Int64
buffer byte
offset int
count int
return System.Int64

ToInt64() static public method

static public ToInt64 ( string value ) : System.Int64
value string
return System.Int64

ToQualifiedName() static public method

static public ToQualifiedName ( string qname, string &prefix, string &localName ) : void
qname string
prefix string
localName string
return void

ToSingle() static public method

static public ToSingle ( byte buffer, int offset, int count ) : float
buffer byte
offset int
count int
return float

ToSingle() static public method

static public ToSingle ( string value ) : float
value string
return float

ToString() static public method

static public ToString ( System.DateTime value ) : string
value System.DateTime
return string

ToString() static public method

static public ToString ( System.Guid value ) : string
value System.Guid
return string

ToString() static public method

static public ToString ( System.Int64 value ) : string
value System.Int64
return string

ToString() static public method

static public ToString ( System.TimeSpan value ) : string
value System.TimeSpan
return string

ToString() static public method

static public ToString ( System.UInt64 value ) : string
value System.UInt64
return string

ToString() static public method

static public ToString ( UniqueId value ) : string
value UniqueId
return string

ToString() static public method

static public ToString ( bool value ) : string
value bool
return string

ToString() static public method

static public ToString ( byte buffer, int offset, int count ) : string
buffer byte
offset int
count int
return string

ToString() static public method

static public ToString ( decimal value ) : string
value decimal
return string

ToString() static public method

static public ToString ( double value ) : string
value double
return string

ToString() static public method

static public ToString ( float value ) : string
value float
return string

ToString() static public method

static public ToString ( int value ) : string
value int
return string

ToStringUnicode() static public method

static public ToStringUnicode ( byte buffer, int offset, int count ) : string
buffer byte
offset int
count int
return string

ToTimeSpan() static public method

static public ToTimeSpan ( byte buffer, int offset, int count ) : System.TimeSpan
buffer byte
offset int
count int
return System.TimeSpan

ToTimeSpan() static public method

static public ToTimeSpan ( string value ) : System.TimeSpan
value string
return System.TimeSpan

ToUInt64() static public method

static public ToUInt64 ( byte buffer, int offset, int count ) : System.UInt64
buffer byte
offset int
count int
return System.UInt64

ToUInt64() static public method

static public ToUInt64 ( string value ) : System.UInt64
value string
return System.UInt64

ToUniqueId() static public method

static public ToUniqueId ( byte buffer, int offset, int count ) : UniqueId
buffer byte
offset int
count int
return UniqueId

ToUniqueId() static public method

static public ToUniqueId ( string value ) : UniqueId
value string
return UniqueId