コード例 #1
0
ファイル: UIObject.cs プロジェクト: alexserov/wad_decompiled
 internal static bool Matches(AutomationElement element, UICondition condition)
 {
     Validate.ArgumentNotNull(parameter: condition, parameterName: nameof(condition));
     return(condition.Matches(element: element));
 }
コード例 #2
0
ファイル: UIObject.cs プロジェクト: alexserov/wad_decompiled
 public static bool Matches(UIObject uiObject, UICondition condition)
 {
     Validate.ArgumentNotNull(parameter: uiObject, parameterName: nameof(uiObject));
     Validate.ArgumentNotNull(parameter: condition, parameterName: nameof(condition));
     return(condition.Matches(element: uiObject.AutomationElement));
 }