Class XElementExtensions
Inheritance
System.Object
XElementExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: XmlTools.GroupFlattener
Assembly: XmlTools.dll
Syntax
public static class XElementExtensions
Methods
| Improve this Doc View SourceFlattenGroupElements(IEnumerable<XElement>, String, String)
Declaration
public static void FlattenGroupElements(this IEnumerable<XElement> elements, string elementName, string groupType = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement> | elements | |
System.String | elementName | |
System.String | groupType |
GetGroupContent(XElement)
Declaration
public static List<XElement> GetGroupContent(this XElement group)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Linq.XElement | group |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Xml.Linq.XElement> |