C# Класс System.Xml.Xsl.IlGen.XmlILNamespaceAnalyzer

Scans constructed content, looking for redundant namespace declarations. If any are found, then they are marked and removed later.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Analyze ( QilNode nd, bool defaultNmspInScope ) : void

Perform scan.

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

Метод Описание
AnalyzeContent ( QilNode nd ) : void

Recursively analyze content. Return "nd" or a replacement for it.

CheckNamespaceInScope ( QilBinary nd ) : bool

Determine whether an ElementCtor, AttributeCtor, or NamespaceDecl's namespace is already declared. If it is, set the IsNamespaceInScope property to True. Otherwise, add the namespace to the set of in-scope namespaces if addInScopeNmsp is True. Return false if the name is computed or is invalid.

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

Analyze() публичный Метод

Perform scan.
public Analyze ( QilNode nd, bool defaultNmspInScope ) : void
nd QilNode
defaultNmspInScope bool
Результат void