[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.Xml.XmlExtensions

XmlExtensions Class

Provides a set of static (extension) methods for LiveLinq to XML.

Inheritance
XmlExtensions
Namespace: C1.LiveLinq.LiveViews.Xml
Assembly: C1.LiveLinq.4.8.dll
Syntax
public static class XmlExtensions

Methods

Name Description
AsLive(XDocument)

Creates a view based on the specified XML document.

AsLive(XElement)

Creates a view based on the specified XML element.

Attributes(View<XElement>)

Returns a view representing the collection of the attributes of every element in the source view.

Attributes(View<XElement>, XName)

Returns a view representing a filtered collection of the attributes of every element in the source view. Only attributes that have a matching XName are included.

BeginUpdate(XContainer)

Suspends notifications while massive changes are being made to an XML node and its descendants.

DescendantNodesAndSelf(View<XElement>)

Returns a view representing the collection of nodes that contains every element in the source view, and the descendent nodes of every element in the source view.

DescendantNodes<T>(View<T>)

Returns a view representing the collection of the descendent nodes of every element and document in the source view.

DescendantsAndSelf(View<XElement>)

Returns a view representing a collection of elements that contains every element in the source view, and the descendent elements of every element in the source view.

DescendantsAndSelf(View<XElement>, XName)

Returns a view representing a filtered collection of elements that contains every element in the source view, and the descendants of every element in the source view. Only elements that have a matching XName are included.

Descendants<T>(View<T>)

Returns a view representing the collection of elements that contains the descendent elements of every element and document in the source view.

Descendants<T>(View<T>, XName)

Returns a view representing a filtered collection of elements that contains the descendent elements of every element and document in the source view. Only elements that have a matching XName are included.

Elements<T>(View<T>)

Returns a view representing the collection of child elements of every element and document in the source view..

Elements<T>(View<T>, XName)

Returns a view representing filtered collection of child elements of every element and document in the source view. Only elements that have a matching XName are included.

EndUpdate(XContainer)

Ends notification suspension started with BeginUpdate(XContainer).

IndexedAttribute(XAttribute)

A hint to create and use an index on the specified XML attribute. The hint has default action.

IndexedAttribute(XAttribute, IndexingHintAction)

A hint to create and use an index on the specified XML attribute. The hint has specified action.

IndexedAttribute(XElement, XName)

A hint to create and use an index on the specified XML attribute. The hint has default action.

IndexedAttribute(XElement, XName, IndexingHintAction)

A hint to create and use an index on the specified XML attribute. The hint has specified action.

IndexedElement(XContainer, XName)

A hint to create and use an index on the specified XML element. The hint has default action.

IndexedElement(XContainer, XName, IndexingHintAction)

A hint to create and use an index on the specified XML element. The hint has specified action.

IndexedElement(XElement)

A hint to create and use an index on the specified XML element. The hint has default action.

IndexedElement(XElement, IndexingHintAction)

A hint to create and use an index on the specified XML element. The hint has specified action.

Nodes<T>(View<T>)

Returns a view representing the collection of child nodes of every document and element in the source view.

Root(View<XDocument>)

Gets the view for the root element of the XML tree for this document.