C# Класс Automation.UI.Tree.QueryParts.QueryMatcherPart

Represents the matcher part of the conditions of a query.
Наследование: QueryConditionPart.QueryConditionPartPart
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ApplyMatcher QueryOperatorPart
ApplyMatcher QueryOperatorPart
QueryMatcherPart System.Windows.Automation

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

Метод Описание
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.

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

Метод Описание
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.

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

Contains() публичный Метод

Adds a contains condition.
public Contains ( string value ) : QueryOperatorPart
value string The expected value.
Результат QueryOperatorPart

EndsWith() публичный Метод

Adds an ends with condition.
public EndsWith ( string value ) : QueryOperatorPart
value string The expected value.
Результат QueryOperatorPart

Is() публичный Метод

Adds a property condition.
public Is ( object value ) : QueryOperatorPart
value object The expected value.
Результат QueryOperatorPart

Matches() публичный Метод

Adds a regex condition.
public Matches ( string pattern ) : QueryOperatorPart
pattern string The regeular expression to match.
Результат QueryOperatorPart

StartsWith() публичный Метод

Adds a starts with condition.
public StartsWith ( string value ) : QueryOperatorPart
value string The expected value.
Результат QueryOperatorPart