-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
- Using system derived namespace System.Xml.XPath, we can get elements by methods XPathSelectElement and XPathSelectElements.
It is hard to read the code with tons of that methods, for example when parsing large Xml document. - We cannot use local variables that store temporary XElement objects, in expressions, for example in AutoMapper mapping expression.
Need to define Func<XElement,XElement> to use it in expressions.
Describe the solution you'd like
- Add shortcut extension methods for XElement methods:
- "Get" for XPathSelectElement
- "GetList" for XPathSelectElements
- Add extension method that will return Func<XElement, XElement>.