C# Class DataServer.Utilities

显示文件 Open project: TNOCS/csTouch

Public Methods

Method Description
Color2Hex ( this color ) : string
InnerXml ( this thiz ) : string
InnerXml2 ( this element ) : string
ReadAllLines ( this stream, Encoding encoding ) : IEnumerable
RemoveAllNamespaces ( this source ) : System.Xml.Linq.XElement
ValueOrFalse ( this v ) : bool

Method Details

Color2Hex() public static method

public static Color2Hex ( this color ) : string
color this
return string

InnerXml() public static method

public static InnerXml ( this thiz ) : string
thiz this
return string

InnerXml2() public static method

public static InnerXml2 ( this element ) : string
element this
return string

ReadAllLines() public static method

public static ReadAllLines ( this stream, Encoding encoding ) : IEnumerable
stream this
encoding System.Text.Encoding
return IEnumerable

RemoveAllNamespaces() public static method

public static RemoveAllNamespaces ( this source ) : System.Xml.Linq.XElement
source this
return System.Xml.Linq.XElement

ValueOrFalse() public static method

public static ValueOrFalse ( this v ) : bool
v this
return bool