C# Class Automation.UI.Util.ConditionHelper

Convenience methods for working with Condition objects.
Afficher le fichier Open project: vijayakumarsuraj/UIAutomation

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

IsMeetsRequirements() public static méthode

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.
Résultat bool

ToString() public static méthode

Gets the string representation of the specified condition.
public static ToString ( Condition condition ) : string
condition Condition The condition.
Résultat string