C# 클래스 Microsoft.Html.Core.Tree.HtmlTree

HTML Tree.
The tree is static, it does not listen to OnTextChange. If you need dynamic tree, look at HtmlEditorTree in Microsoft.Html.Editor
상속: IHtmlTreeVisitorPattern
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Accept ( Func visitor, object param ) : bool
Accept ( IHtmlTreeVisitor visitor, object param ) : bool
Build ( ) : void

Main method to build the tree.

Build ( ITextRange range ) : void

Main method to build a subtree from a text range.

HtmlTree ( ITextProvider text ) : System
HtmlTree ( ITextProvider text, IHtmlScriptTypeResolutionService scriptTypeResolution ) : System
HtmlTree ( ITextProvider text, IHtmlScriptTypeResolutionService scriptTypeResolution, IHtmlScriptOrStyleTagNamesService scriptOrStyleTagNameService, ParsingMode parsingMode ) : System
ReflectTextChange ( int start, int oldLength, int newLength ) : void
ReflectTextChanges ( IList textChanges ) : void

Updates positions of all elements and attributes in the tree reflecting change made to the source text buffer.

메소드 상세

Accept() 공개 메소드

public Accept ( Func visitor, object param ) : bool
visitor Func
param object
리턴 bool

Accept() 공개 메소드

public Accept ( IHtmlTreeVisitor visitor, object param ) : bool
visitor IHtmlTreeVisitor
param object
리턴 bool

Build() 공개 메소드

Main method to build the tree.
public Build ( ) : void
리턴 void

Build() 공개 메소드

Main method to build a subtree from a text range.
public Build ( ITextRange range ) : void
range ITextRange
리턴 void

HtmlTree() 공개 메소드

public HtmlTree ( ITextProvider text ) : System
text ITextProvider
리턴 System

HtmlTree() 공개 메소드

public HtmlTree ( ITextProvider text, IHtmlScriptTypeResolutionService scriptTypeResolution ) : System
text ITextProvider
scriptTypeResolution IHtmlScriptTypeResolutionService
리턴 System

HtmlTree() 공개 메소드

public HtmlTree ( ITextProvider text, IHtmlScriptTypeResolutionService scriptTypeResolution, IHtmlScriptOrStyleTagNamesService scriptOrStyleTagNameService, ParsingMode parsingMode ) : System
text ITextProvider
scriptTypeResolution IHtmlScriptTypeResolutionService
scriptOrStyleTagNameService IHtmlScriptOrStyleTagNamesService
parsingMode ParsingMode
리턴 System

ReflectTextChange() 공개 메소드

public ReflectTextChange ( int start, int oldLength, int newLength ) : void
start int
oldLength int
newLength int
리턴 void

ReflectTextChanges() 공개 메소드

Updates positions of all elements and attributes in the tree reflecting change made to the source text buffer.
public ReflectTextChanges ( IList textChanges ) : void
textChanges IList
리턴 void