C# Class Automation.UI.Tree.QueryParts.QueryMatcherPart

Represents the matcher part of the conditions of a query.
Inheritance: QueryConditionPart.QueryConditionPartPart
Afficher le fichier Open project: vijayakumarsuraj/UIAutomation

Private Properties

Свойство Type Description
ApplyMatcher QueryOperatorPart
ApplyMatcher QueryOperatorPart
QueryMatcherPart System.Windows.Automation

Méthodes publiques

Méthode Description
Contains ( string value ) : QueryOperatorPart

Adds a contains condition.

EndsWith ( string value ) : QueryOperatorPart

Adds an ends with condition.

Is ( object value ) : QueryOperatorPart

Adds a property condition.

Matches ( string pattern ) : QueryOperatorPart

Adds a regex condition.

StartsWith ( string value ) : QueryOperatorPart

Adds a starts with condition.

Private Methods

Méthode Description
ApplyMatcher ( object value ) : QueryOperatorPart

Applies the required property condition in the condition part of the query.

ApplyMatcher ( string value, Matcher matcher ) : QueryOperatorPart

Applies the required string property condition in the condition part of the query.

QueryMatcherPart ( AutomationProperty property, QueryConditionPart part ) : System.Windows.Automation

New query matcher part.

Method Details

Contains() public méthode

Adds a contains condition.
public Contains ( string value ) : QueryOperatorPart
value string The expected value.
Résultat QueryOperatorPart

EndsWith() public méthode

Adds an ends with condition.
public EndsWith ( string value ) : QueryOperatorPart
value string The expected value.
Résultat QueryOperatorPart

Is() public méthode

Adds a property condition.
public Is ( object value ) : QueryOperatorPart
value object The expected value.
Résultat QueryOperatorPart

Matches() public méthode

Adds a regex condition.
public Matches ( string pattern ) : QueryOperatorPart
pattern string The regeular expression to match.
Résultat QueryOperatorPart

StartsWith() public méthode

Adds a starts with condition.
public StartsWith ( string value ) : QueryOperatorPart
value string The expected value.
Résultat QueryOperatorPart