XmlHelper - класс |
Пространство имён: Orchard.ContentManagement
public static class XmlHelper
Тип XmlHelper предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| AddEl |
Like Add, but chainable.
| |
| Attr(XElement, String) |
Gets the string value of an attribute, and null if the attribute doesn't exist.
| |
| AttrT(XElement, String) |
Gets a typed value from an attribute.
| |
| AttrT(XElement, String, T) |
Sets an attribute value. This is chainable.
| |
| El(XElement, String) |
Returns the text contents of a child element.
| |
| ElT(XElement, String, T) |
Creates and sets the value of a child element. This is chainable.
| |
| FromAttrTTarget, TProperty |
Sets a property value from an attribute of the same name.
| |
| ParseT |
Parses a string value as the provided type.
| |
| ToAttrTTarget, TProperty |
Sets an attribute with the value of a property of the same name.
| |
| ToStringT |
Serializes the provided value as a string.
| |
| ValTValue(XElement) |
Gets the text value of an element as the specified type.
| |
| ValTValue(XElement, TValue) |
Sets the value of an element.
| |
| WithTContext |
Gives context to an XElement, enabling chained property operations.
|