C# Class UIAutomation.ControlSearcher

Inheritance: SearcherTemplate
Exibir arquivo Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Property Type Description
GetAndCondition UIANET::System.Windows.Automation.AndCondition
GetControlTypeCondition UIANET::System.Windows.Automation.Condition
GetExactSearchCondition UIANET::System.Windows.Automation.Condition
GetOrCondition UIANET::System.Windows.Automation.OrCondition
GetTextSearchCondition UIANET::System.Windows.Automation.Condition
GetWildcardSearchCondition UIANET::System.Windows.Automation.Condition
SearchByContainsTextViaUia List
SearchByContainsTextViaWin32 IEnumerable
SearchByExactConditionsViaUia List
SearchByWildcardOrRegexViaUia List
SearchByWildcardViaWin32 IEnumerable
TestControlWithAllSearchCriteria bool

Public Methods

Method Description
AfterSearchHook ( ) : void
BeforeSearchHook ( ) : void
ConvertCmdletToControlSearcherData ( GetControlCmdletBase cmdlet ) : ControlSearcherData
GetControlsConditions ( ControlSearcherData data ) : UIANET::System.Windows.Automation.Condition[]
OnFailureHook ( ) : void
OnStartHook ( ) : void
OnSuccessHook ( ) : void
SearchForElements ( SearcherTemplateData searchData ) : List

Private Methods

Method Description
GetAndCondition ( List propertyCollection ) : UIANET::System.Windows.Automation.AndCondition
GetControlTypeCondition ( IEnumerable controlTypeNames ) : UIANET::System.Windows.Automation.Condition
GetExactSearchCondition ( ControlSearcherData data ) : UIANET::System.Windows.Automation.Condition
GetOrCondition ( List propertyCollection ) : UIANET::System.Windows.Automation.OrCondition
GetTextSearchCondition ( string searchString, string controlTypeNames, bool caseSensitive1 ) : UIANET::System.Windows.Automation.Condition
GetWildcardSearchCondition ( ControlSearcherData data ) : UIANET::System.Windows.Automation.Condition
SearchByContainsTextViaUia ( IUiElement inputObject, UIANET::System.Windows.Automation conditionsForTextSearch ) : List
SearchByContainsTextViaWin32 ( IUiElement inputObject, ControlFromWin32Provider controlProvider ) : IEnumerable
SearchByExactConditionsViaUia ( IUiElement inputObject, Hashtable searchCriteria, UIANET::System.Windows.Automation conditions ) : List
SearchByWildcardOrRegexViaUia ( IUiElement inputObject, ControlSearcherData data, UIANET::System.Windows.Automation conditionsForWildCards, bool viaWildcardOrRegex ) : List
SearchByWildcardViaWin32 ( IUiElement inputObject, ControlSearcherData data, HandleCollector handleCollector ) : IEnumerable
TestControlWithAllSearchCriteria ( IEnumerable hashtables, IUiElement element ) : bool

Method Details

AfterSearchHook() public method

public AfterSearchHook ( ) : void
return void

BeforeSearchHook() public method

public BeforeSearchHook ( ) : void
return void

ConvertCmdletToControlSearcherData() public method

public ConvertCmdletToControlSearcherData ( GetControlCmdletBase cmdlet ) : ControlSearcherData
cmdlet GetControlCmdletBase
return ControlSearcherData

GetControlsConditions() public method

public GetControlsConditions ( ControlSearcherData data ) : UIANET::System.Windows.Automation.Condition[]
data ControlSearcherData
return UIANET::System.Windows.Automation.Condition[]

OnFailureHook() public method

public OnFailureHook ( ) : void
return void

OnStartHook() public method

public OnStartHook ( ) : void
return void

OnSuccessHook() public method

public OnSuccessHook ( ) : void
return void

SearchForElements() public method

public SearchForElements ( SearcherTemplateData searchData ) : List
searchData SearcherTemplateData
return List