コード例 #1
0
ファイル: JQueryTag.cs プロジェクト: tablesmit/JQSelenium
 /// <summary>
 ///   Compares if two JQueryTags have the same tag and webElement
 /// </summary>
 /// <returns> true if the JQueryTags match </returns>
 public bool Equals(JQueryTag comparer)
 {
     if ((this.TagName.Equals(comparer.TagName)) && (this.WebElement.Equals(comparer.WebElement)))
     {
         return(true);
     }
     return(false);
 }
コード例 #2
0
ファイル: JQueryTag.cs プロジェクト: qchicoq/JQSelenium
 /// <summary>
 ///   Compares if two JQueryTags have the same tag and webElement
 /// </summary>
 /// <returns> true if the JQueryTags match </returns>
 public bool Equals(JQueryTag comparer)
 {
     if ((this.TagName.Equals(comparer.TagName)) && (this.WebElement.Equals(comparer.WebElement)))
         return true;
     return false;
 }