C# Class Microsoft.Html.Core.Parser.Tokens.AttributeToken

Inheritance: IHtmlToken, ICompositeTextRange
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
AttributeToken ( IHtmlToken nameToken ) : System
AttributeToken ( IHtmlToken nameToken, int equalsPosition ) : System
AttributeToken ( IHtmlToken nameToken, int equalsPosition, IHtmlAttributeValueToken value ) : System
Contains ( int position ) : bool
HasEqualSign ( ) : bool

Tells if attribute has an equal sign

HasName ( ) : bool

Tells if attribute has a name

HasPrefix ( ) : bool

Determines if attribute name has prefix

HasQualifiedName ( ) : bool

Determines if attribute name is a fully qualified name (prefix:name)

HasValue ( ) : bool

Tells if attribute has a value

Shift ( int offset ) : void
ShiftStartingFrom ( int start, int offset ) : void

Private Methods

Méthode Description
ToString ( ) : string

Method Details

AttributeToken() public méthode

public AttributeToken ( IHtmlToken nameToken ) : System
nameToken IHtmlToken
Résultat System

AttributeToken() public méthode

public AttributeToken ( IHtmlToken nameToken, int equalsPosition ) : System
nameToken IHtmlToken
equalsPosition int
Résultat System

AttributeToken() public méthode

public AttributeToken ( IHtmlToken nameToken, int equalsPosition, IHtmlAttributeValueToken value ) : System
nameToken IHtmlToken
equalsPosition int
value IHtmlAttributeValueToken
Résultat System

Contains() public méthode

public Contains ( int position ) : bool
position int
Résultat bool

HasEqualSign() public méthode

Tells if attribute has an equal sign
public HasEqualSign ( ) : bool
Résultat bool

HasName() public méthode

Tells if attribute has a name
public HasName ( ) : bool
Résultat bool

HasPrefix() public méthode

Determines if attribute name has prefix
public HasPrefix ( ) : bool
Résultat bool

HasQualifiedName() public méthode

Determines if attribute name is a fully qualified name (prefix:name)
public HasQualifiedName ( ) : bool
Résultat bool

HasValue() public méthode

Tells if attribute has a value
public HasValue ( ) : 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 start, int offset ) : void
start int
offset int
Résultat void