C# 클래스 Microsoft.Html.Core.Tree.Builder.DefaultHtmlClosureProvider

Default element closure information provider for HTML. Implements IHtmlClosureProviderTextRange which allows passing of ITextProvider + TextRange instead of extracting strings for comparison This is a frequently used class and performance improvement is welcome.
상속: IHtmlClosureProvider, IHtmlClosureProviderTextRange
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
DefaultHtmlClosureProvider ( ) : System
IsImplicitlyClosed ( ITextProvider text, ITextRange name, string &containerElementNames ) : bool

Determines if given element can be implicitly closed like <li> or <td> in HTML"

IsSelfClosing ( ITextProvider text, ITextRange nameRange ) : bool

Determines if given element is self-closing (i.e. does not allow content)

비공개 메소드들

메소드 설명
AddElements ( string addTo, string elementNames ) : void
FindElementName ( ITextProvider text, ITextRange name, string indexArray, bool ignoreCase ) : bool
GetContainerElements ( string elementName ) : string[]
IHtmlClosureProvider ( string name ) : bool
IHtmlClosureProvider ( string name, string &containerElementNames ) : bool

메소드 상세

DefaultHtmlClosureProvider() 공개 메소드

public DefaultHtmlClosureProvider ( ) : System
리턴 System

IsImplicitlyClosed() 공개 메소드

Determines if given element can be implicitly closed like <li> or <td> in HTML"
public IsImplicitlyClosed ( ITextProvider text, ITextRange name, string &containerElementNames ) : bool
text ITextProvider Text provider
name ITextRange Element name
containerElementNames string
리턴 bool

IsSelfClosing() 공개 메소드

Determines if given element is self-closing (i.e. does not allow content)
public IsSelfClosing ( ITextProvider text, ITextRange nameRange ) : bool
text ITextProvider Text provider
nameRange ITextRange Element name
리턴 bool