C# Class Weed.OPS.XDom

Afficher le fichier Open project: noear/Weed3 Class Usage Examples

Méthodes publiques

Méthode Description
Bind ( object obj, string opsXml ) : void
CDATA ( string xml ) : string

去除代码

Load ( string fileUri ) : XDom

过时的方法,请改用 LoadUri

LoadOps ( string opsXml ) : XDom
LoadUri ( string fileUri ) : XDom
LoadUri ( string fileUri, Encoding encoding ) : XDom
LoadXml ( XmlNode node ) : XDom
LoadXml ( string xml, bool isDoc ) : XDom
ParseXml ( string xml, bool isDoc ) : XmlNode
ToXml ( object obj ) : string

Private Methods

Méthode Description
GetText ( PropertyInfo prop, object obj ) : string
SetText ( Type objT, object obj, string key, string text ) : void
_GetProp ( Type type, string name ) : PropertyInfo
_GetProps ( Type type ) : IEnumerable

Method Details

Bind() public static méthode

public static Bind ( object obj, string opsXml ) : void
obj object
opsXml string
Résultat void

CDATA() public static méthode

去除代码
public static CDATA ( string xml ) : string
xml string
Résultat string

Load() public static méthode

过时的方法,请改用 LoadUri
public static Load ( string fileUri ) : XDom
fileUri string
Résultat XDom

LoadOps() public static méthode

public static LoadOps ( string opsXml ) : XDom
opsXml string
Résultat XDom

LoadUri() public static méthode

public static LoadUri ( string fileUri ) : XDom
fileUri string
Résultat XDom

LoadUri() public static méthode

public static LoadUri ( string fileUri, Encoding encoding ) : XDom
fileUri string
encoding System.Text.Encoding
Résultat XDom

LoadXml() public static méthode

public static LoadXml ( XmlNode node ) : XDom
node System.Xml.XmlNode
Résultat XDom

LoadXml() public static méthode

public static LoadXml ( string xml, bool isDoc ) : XDom
xml string
isDoc bool
Résultat XDom

ParseXml() public static méthode

public static ParseXml ( string xml, bool isDoc ) : XmlNode
xml string
isDoc bool
Résultat System.Xml.XmlNode

ToXml() public static méthode

public static ToXml ( object obj ) : string
obj object
Résultat string