C# Class UIAutomation.ControlSearcher

Inheritance: SearcherTemplate
Afficher le fichier Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AfterSearchHook ( ) : void
Résultat void

BeforeSearchHook() public méthode

public BeforeSearchHook ( ) : void
Résultat void

ConvertCmdletToControlSearcherData() public méthode

public ConvertCmdletToControlSearcherData ( GetControlCmdletBase cmdlet ) : ControlSearcherData
cmdlet GetControlCmdletBase
Résultat ControlSearcherData

GetControlsConditions() public méthode

public GetControlsConditions ( ControlSearcherData data ) : UIANET::System.Windows.Automation.Condition[]
data ControlSearcherData
Résultat UIANET::System.Windows.Automation.Condition[]

OnFailureHook() public méthode

public OnFailureHook ( ) : void
Résultat void

OnStartHook() public méthode

public OnStartHook ( ) : void
Résultat void

OnSuccessHook() public méthode

public OnSuccessHook ( ) : void
Résultat void

SearchForElements() public méthode

public SearchForElements ( SearcherTemplateData searchData ) : List
searchData SearcherTemplateData
Résultat List