C# Class Automation.UI.Util.ConditionHelper

Convenience methods for working with Condition objects.
Show file Open project: vijayakumarsuraj/UIAutomation

Public Methods

Method 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

Method 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 method

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.
return bool

ToString() public static method

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