public virtual GeckoHtmlElement this[int index] { get { if (index < 0 || index >= Length) { throw new ArgumentOutOfRangeException("index"); } return(GeckoHtmlElement.Create((nsIDOMHTMLElement)List.Item((uint)index))); } }
public virtual GeckoNode this[int index] { get { if (index < 0 || index >= Length) { throw new ArgumentOutOfRangeException("index"); } return(GeckoNode.Create(List.Item((uint)index))); } }
public TWrapper this[uint index] { get { var item = _collection.Item(index); var node = item as TGeckoNode; return(node?.Wrap(_window, _translator)); } }
public virtual GeckoHtmlElement this[uint index] { get { if (index >= Length) { throw new ArgumentOutOfRangeException(nameof(index)); } return((GeckoHtmlElement)GeckoNode.Create(_window, List.Item(index))); } }
public TWrapper this[int index] { get { var item = _list.Item((uint)index); if (item is TGeckoNode) { return(((TGeckoNode)item).Wrap(_translator)); } return(null); } }
public TWrapper this[int index] { get { var item = _list.Item((uint)index); if (item is TGeckoNode) { return(Gecko.Interop.ExtensionMethods.Wrap(((TGeckoNode)item), _translator)); } return(null); } }
public override nsIDOMNode Item(uint index) { return(_list.Item(index)); }