C# Class Microsoft.Html.Core.Tree.Nodes.TagNode

Node representing start or end tag of an element
Inheritance: TreeNode
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
Complete ( ReadOnlyCollection attributes, ITextRange closingSequence, bool closed, bool isShorthand, bool selfClosing ) : void
Contains ( int position ) : bool

Determines if node contains given position

HasPrefix ( ) : bool
Shift ( int offset ) : void
ShiftStartingFrom ( int position, int offset ) : void
TagNode ( ElementNode parent, int openAngleBracketPosition, NameToken nameToken, int maxEnd ) : System

Private Methods

Méthode Description
ToString ( ) : string

Method Details

Complete() public méthode

public Complete ( ReadOnlyCollection attributes, ITextRange closingSequence, bool closed, bool isShorthand, bool selfClosing ) : void
attributes ReadOnlyCollection
closingSequence ITextRange
closed bool
isShorthand bool
selfClosing bool
Résultat void

Contains() public méthode

Determines if node contains given position
public Contains ( int position ) : bool
position int Position in a text buffer
Résultat bool

HasPrefix() public méthode

public HasPrefix ( ) : bool
Résultat bool

Shift() public méthode

public Shift ( int offset ) : void
offset int
Résultat void

ShiftStartingFrom() public méthode

public ShiftStartingFrom ( int position, int offset ) : void
position int
offset int
Résultat void

TagNode() public méthode

public TagNode ( ElementNode parent, int openAngleBracketPosition, NameToken nameToken, int maxEnd ) : System
parent ElementNode
openAngleBracketPosition int
nameToken Microsoft.Html.Core.Parser.Tokens.NameToken
maxEnd int
Résultat System