Beispiel #1
0
        /// <summary>
        /// Check the current matched set of elements against an element, and return true if the element
        /// is found within the selection set.
        /// </summary>
        ///
        /// <param name="element">
        /// An element to match against the current selection set.
        /// </param>
        ///
        /// <returns>
        /// true if it is found, false if it fails.
        /// </returns>
        ///
        /// <url>
        /// http://api.jquery.com/is/
        /// </url>

        public bool Is(IDomObject element)
        {
            return(SelectionSet.Contains(element));
        }