C# Класс Automation.UI.Util.ConditionHelper

Convenience methods for working with Condition objects.
Показать файл Открыть проект

Открытые методы

Метод Описание
IsMeetsRequirements ( Condition condition, AutomationElement element ) : bool

Check to see if the specified automation element meets the requirements of the specified condition.

ToString ( Condition condition ) : string

Gets the string representation of the specified condition.

Приватные методы

Метод Описание
ToString ( PropertyCondition condition ) : string

Gets the string representation of the specified property condition.

ToString ( StringPropertyCondition condition ) : string

Gets the string representation of the specified string property condition.

Описание методов

IsMeetsRequirements() публичный статический Метод

Check to see if the specified automation element meets the requirements of the specified condition.
public static IsMeetsRequirements ( Condition condition, AutomationElement element ) : bool
condition Condition The condition to check.
element System.Windows.Automation.AutomationElement The automation element to check.
Результат bool

ToString() публичный статический Метод

Gets the string representation of the specified condition.
public static ToString ( Condition condition ) : string
condition Condition The condition.
Результат string