C# Класс Nexus.UI.Controls.XmlFoldingStrategy

Handles the folding of XML.
Наследование: IFoldingStrategy
Показать файл Открыть проект

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

Метод Описание
GenerateFoldMarkers ( IDocument document, string fileName, object parseInformation ) : List

Generates the list of markers indicating where the XML should be folded.

Защищенные методы

Метод Описание
AddFold ( IDocument p_docDocument, string p_strTagName, TextLocation p_tlcStart, TextLocation p_tlcEnd ) : void

Adds a fold for the specified tag spanning the specified lines.

This method is called by the XmlParser whenever a complete tag is found.

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

AddFold() защищенный Метод

Adds a fold for the specified tag spanning the specified lines.
This method is called by the XmlParser whenever a complete tag is found.
protected AddFold ( IDocument p_docDocument, string p_strTagName, TextLocation p_tlcStart, TextLocation p_tlcEnd ) : void
p_docDocument IDocument The document in which to make the fold.
p_strTagName string The name of the tag being folded.
p_tlcStart TextLocation The location of the start of the tag.
p_tlcEnd TextLocation The location of the closing tag.
Результат void

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

Generates the list of markers indicating where the XML should be folded.
public GenerateFoldMarkers ( IDocument document, string fileName, object parseInformation ) : List
document IDocument The document to fold.
fileName string The file name of the document to fold.
parseInformation object User-supplied parse information.
Результат List