public HtmlTagContextAttribute this[int index] { get { this.AssertValid(); if (index < 0 || index >= this.tagContext.attributeCount) { throw new ArgumentOutOfRangeException("index"); } return(new HtmlTagContextAttribute(this.tagContext, HtmlTagContext.ComposeIndexAndCookie(this.tagContext.cookie, index))); } }
void IEnumerator.Reset() { this.attributeIndexAndCookie = HtmlTagContext.ComposeIndexAndCookie(this.tagContext.cookie, -1); }
internal Enumerator(HtmlTagContext tagContext) { this.tagContext = tagContext; this.attributeIndexAndCookie = HtmlTagContext.ComposeIndexAndCookie(this.tagContext.cookie, -1); }