C# 클래스 Automation.UI.Tree.SearchEngine

Base class for the query engines used. These are responsible for taking the conditions specified in a query and finding an automation element using them.
파일 보기 프로젝트 열기: vijayakumarsuraj/UIAutomation

보호된 프로퍼티들

프로퍼티 타입 설명
DefaultTimeout System.TimeSpan

공개 메소드들

메소드 설명
GetAllResults ( Query query ) : IEnumerable

Gets all the automation elements found using the condition specified in the specified query.

GetAllResults ( Query query, System.TimeSpan timeout ) : IEnumerable

Gets all the automation elements found using the condition specified in the specified query.

GetFirstResult ( Query query ) : AutomationElement

Gets the first automation element found using the conditions specified in the specified query.

GetFirstResult ( Query query, System.TimeSpan timeout ) : AutomationElement

Gets the first automation element found using the conditions specified in the specified query.

보호된 메소드들

메소드 설명
ExecuteGetResult ( GetResultCallback callback, System.TimeSpan timeout ) : object

Invokes the specified callback repeatedly until either the specified timeout expires or an automation element is returned.

메소드 상세

ExecuteGetResult() 보호된 메소드

Invokes the specified callback repeatedly until either the specified timeout expires or an automation element is returned.
protected ExecuteGetResult ( GetResultCallback callback, System.TimeSpan timeout ) : object
callback GetResultCallback The get results callback method.
timeout System.TimeSpan The maximum amount of time to wait for the callback to return an automation element.
리턴 object

GetAllResults() 공개 메소드

Gets all the automation elements found using the condition specified in the specified query.
public GetAllResults ( Query query ) : IEnumerable
query Query The query.
리턴 IEnumerable

GetAllResults() 공개 추상적인 메소드

Gets all the automation elements found using the condition specified in the specified query.
public abstract GetAllResults ( Query query, System.TimeSpan timeout ) : IEnumerable
query Query The query.
timeout System.TimeSpan The maximum amount of time to wait for at least one element to become available.
리턴 IEnumerable

GetFirstResult() 공개 메소드

Gets the first automation element found using the conditions specified in the specified query.
public GetFirstResult ( Query query ) : AutomationElement
query Query The query.
리턴 System.Windows.Automation.AutomationElement

GetFirstResult() 공개 추상적인 메소드

Gets the first automation element found using the conditions specified in the specified query.
public abstract GetFirstResult ( Query query, System.TimeSpan timeout ) : AutomationElement
query Query The query.
timeout System.TimeSpan The maximum amount of time to wait for the required element to become available.
리턴 System.Windows.Automation.AutomationElement

프로퍼티 상세

DefaultTimeout 보호되어 있는 프로퍼티

The default amount of time to wait for an element to become available.
protected TimeSpan,System DefaultTimeout
리턴 System.TimeSpan