Class XmlReaderExtensions
Extension methods for the System.Xml.XmlReader.
Inheritance
System.Object
XmlReaderExtensions
Namespace: Cuemon.Serialization.Xml
Assembly: Cuemon.Serialization.Xml.dll
Syntax
public static class XmlReaderExtensions
Methods
| Improve this DocToHierarchy(XmlReader)
Converts the XML hierarchy of an System.Xml.XmlReader into an IHierarchy<T>.
Declaration
public static IHierarchy<DataPair> ToHierarchy(this XmlReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Xml.XmlReader | reader | The reader to convert. |
Returns
| Type | Description |
|---|---|
| IHierarchy<DataPair> | An IHierarchy<T> implementation that uses DataPair. |