Headless.HtmlList.this C# (CSharp) Method

this() public method

Gets the HtmlListItem with the specified value.
public this ( string value ) : HtmlListItem
value string /// The value. ///
return HtmlListItem
        public HtmlListItem this[string value]
        {
            get
            {
                var matchingItems =
                    Find<HtmlListItem>().AllByPredicate(x => MatchesItem(x, value));

                return matchingItems.FirstOrDefault();
            }
        }