|
| static object | GetAttributeValue (XElement node, string attributeName, Type type) |
| static object | GetAttributeValue (XElement node, string attributeName, Type type, object defaultValue) |
| static T | GetAttributeValue< T > (XElement node, string attributeName) |
| static T | GetAttributeValue< T > (XElement node, string attributeName, T defaultValue) |
| static void | SetAttributeValue (XElement node, string attributeName, object value) |
| static XElement | FindChildElement (XElement node, string elementName, bool throwIfNotFound) |
| static XElement | AddElement (XElement parentNode, string name) |
| static XElement | LoadXmlFromTextReader (TextReader textReader, bool throwOnError) |
| static XElement | LoadXmlFromStream (Stream stream, Encoding encoding, bool throwOnError) |
| static XElement | LoadXmlFromString (string data, bool throwOnError) |
| static void | SaveXmlToTextWriter (XElement node, TextWriter textWriter, bool throwOnError) |
| static void | SaveXmlToStream (XElement node, Stream stream, Encoding encoding, bool throwOnError) |
| static string | SaveXmlToString (XElement node, bool throwOnError) |
◆ AddElement()
| XElement XmlUtilities.XmlUtils.AddElement |
( |
XElement | parentNode, |
|
|
string | name ) |
|
static |
◆ FindChildElement()
| XElement XmlUtilities.XmlUtils.FindChildElement |
( |
XElement | node, |
|
|
string | elementName, |
|
|
bool | throwIfNotFound ) |
|
static |
◆ GetAttributeValue() [1/2]
| object XmlUtilities.XmlUtils.GetAttributeValue |
( |
XElement | node, |
|
|
string | attributeName, |
|
|
Type | type ) |
|
static |
◆ GetAttributeValue() [2/2]
| object XmlUtilities.XmlUtils.GetAttributeValue |
( |
XElement | node, |
|
|
string | attributeName, |
|
|
Type | type, |
|
|
object | defaultValue ) |
|
static |
◆ GetAttributeValue< T >() [1/2]
◆ GetAttributeValue< T >() [2/2]
◆ LoadXmlFromStream()
| XElement XmlUtilities.XmlUtils.LoadXmlFromStream |
( |
Stream | stream, |
|
|
Encoding | encoding, |
|
|
bool | throwOnError ) |
|
static |
◆ LoadXmlFromString()
| XElement XmlUtilities.XmlUtils.LoadXmlFromString |
( |
string | data, |
|
|
bool | throwOnError ) |
|
static |
◆ LoadXmlFromTextReader()
| XElement XmlUtilities.XmlUtils.LoadXmlFromTextReader |
( |
TextReader | textReader, |
|
|
bool | throwOnError ) |
|
static |
◆ SaveXmlToStream()
| void XmlUtilities.XmlUtils.SaveXmlToStream |
( |
XElement | node, |
|
|
Stream | stream, |
|
|
Encoding | encoding, |
|
|
bool | throwOnError ) |
|
static |
◆ SaveXmlToString()
| string XmlUtilities.XmlUtils.SaveXmlToString |
( |
XElement | node, |
|
|
bool | throwOnError ) |
|
static |
◆ SaveXmlToTextWriter()
| void XmlUtilities.XmlUtils.SaveXmlToTextWriter |
( |
XElement | node, |
|
|
TextWriter | textWriter, |
|
|
bool | throwOnError ) |
|
static |
◆ SetAttributeValue()
| void XmlUtilities.XmlUtils.SetAttributeValue |
( |
XElement | node, |
|
|
string | attributeName, |
|
|
object | value ) |
|
static |
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/EntitySystem/XmlUtilities/XmlUtils.cs