Class TokenParser.Token.Attribute
Attribute class represents token's attribute
Inheritance
System.Object
TokenParser.Token.Attribute
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Text
Assembly: Azos.dll
Syntax
public class Attribute
Constructors
Attribute(String, String, Int32, Int32, Int32)
Declaration
public Attribute(string name, string val, int idx, int cidx, int clen)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | val | |
System.Int32 | idx | |
System.Int32 | cidx | |
System.Int32 | clen |
Properties
ContentIndex
Attribute body index in content string
Declaration
public int ContentIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ContentLength
Attribute body length in content string
Declaration
public int ContentLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Index
Attribute index (0-based position) within token tag parse order
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Represents token's attribute name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Represents token's attribute value
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |