// Token: 0x06001717 RID: 5911 RVA: 0x000B437C File Offset: 0x000B257C public override string ToString() { if (this.tagContext != null) { return(HtmlTagContext.ExtractIndex(this.attributeIndexAndCookie).ToString()); } return("null"); }
public bool MoveNext() { if (HtmlTagContext.ExtractIndex(this.attributeIndexAndCookie) < this.tagContext.attributeCount) { this.attributeIndexAndCookie++; return(HtmlTagContext.ExtractIndex(this.attributeIndexAndCookie) < this.tagContext.attributeCount); } return(false); }
internal void AssertAttributeValid(int attributeIndexAndCookie) { if (!this.valid) { throw new InvalidOperationException(TextConvertersStrings.AttributeNotValidInThisState); } if (HtmlTagContext.ExtractCookie(attributeIndexAndCookie) != this.cookie) { throw new InvalidOperationException(TextConvertersStrings.AttributeNotValidForThisContext); } int num = HtmlTagContext.ExtractIndex(attributeIndexAndCookie); if (num < 0 || num >= this.attributeCount) { throw new InvalidOperationException(TextConvertersStrings.AttributeNotValidForThisContext); } }
public override string ToString() { return(tagContext == null ? "null" : HtmlTagContext.ExtractIndex(attributeIndexAndCookie).ToString()); }
public void WriteValue() { AssertValid(); tagContext.WriteAttributeImpl(HtmlTagContext.ExtractIndex(attributeIndexAndCookie), false, true); }
public int ReadValue(char[] buffer, int offset, int count) { AssertValid(); return(tagContext.ReadAttributeValueImpl(HtmlTagContext.ExtractIndex(attributeIndexAndCookie), buffer, offset, count)); }
// Token: 0x06001715 RID: 5909 RVA: 0x000B433B File Offset: 0x000B253B public void WriteName() { this.AssertValid(); this.tagContext.WriteAttributeImpl(HtmlTagContext.ExtractIndex(this.attributeIndexAndCookie), true, false); }