C# Класс NuGet.XElementExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
ElementsNoNamespace ( this container, string localName ) : IEnumerable
ElementsNoNamespace ( this source, string localName ) : IEnumerable
Except ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
GetOptionalAttributeValue ( this element, string localName, string namespaceName = null ) : string
GetOptionalElementValue ( this element, string localName, string namespaceName = null ) : string
MergeWith ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
RemoveAttributes ( this element, bool>.Func condition ) : void

Приватные методы

Метод Описание
AttributeEquals ( System.Xml.Linq.XAttribute source, System.Xml.Linq.XAttribute target ) : bool
Compare ( System.Xml.Linq.XElement target, System.Xml.Linq.XElement left, System.Xml.Linq.XElement right ) : int
CountMatches ( System.Xml.Linq.XElement left, System.Xml.Linq.XElement right, Func matcher ) : int
FindElement ( System.Xml.Linq.XElement source, System.Xml.Linq.XElement targetChild ) : System.Xml.Linq.XElement
HasConflict ( System.Xml.Linq.XElement source, System.Xml.Linq.XElement target ) : bool
MergeWith ( this source, System.Xml.Linq.XElement target, XElement>.IDictionary nodeActions ) : System.Xml.Linq.XElement

Описание методов

ElementsNoNamespace() публичный статический Метод

public static ElementsNoNamespace ( this container, string localName ) : IEnumerable
container this
localName string
Результат IEnumerable

ElementsNoNamespace() публичный статический Метод

public static ElementsNoNamespace ( this source, string localName ) : IEnumerable
source this
localName string
Результат IEnumerable

Except() публичный статический Метод

public static Except ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
source this
target System.Xml.Linq.XElement
Результат System.Xml.Linq.XElement

GetOptionalAttributeValue() публичный статический Метод

public static GetOptionalAttributeValue ( this element, string localName, string namespaceName = null ) : string
element this
localName string
namespaceName string
Результат string

GetOptionalElementValue() публичный статический Метод

public static GetOptionalElementValue ( this element, string localName, string namespaceName = null ) : string
element this
localName string
namespaceName string
Результат string

MergeWith() публичный статический Метод

public static MergeWith ( this source, System.Xml.Linq.XElement target ) : System.Xml.Linq.XElement
source this
target System.Xml.Linq.XElement
Результат System.Xml.Linq.XElement

RemoveAttributes() публичный статический Метод

public static RemoveAttributes ( this element, bool>.Func condition ) : void
element this
condition bool>.Func
Результат void