C# Class UIAutomation.HasControlInputCmdletBase

Description of HasControlInputCmdletBase.
Inheritance: HasScriptBlockCmdletBase
Exibir arquivo Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Property Type Description
CheckAndPrepareInput bool
checkNotNull bool

Public Methods

Method Description
HasControlInputCmdletBase ( ) : System

Protected Methods

Method Description
ClickControl ( HasControlInputCmdletBase cmdlet, IUiElement element, ClickSettings settings ) : bool
GetColorProbe ( HasControlInputCmdletBase cmdlet, IUiElement element ) : bool
OnUIAutomationEvent ( object src, UIANET::System.Windows.Automation e ) : void
OnUIAutomationPropertyChangedEvent ( object src, UIANET::System.Windows.Automation e ) : void
OnUIRecordingAutomationEvent ( object src, UIANET::System.Windows.Automation e ) : void
OnUIStructureChangedEvent ( object src, UIANET::System.Windows.Automation e ) : void
OnUIWindowClosedEvent ( object src, UIANET::System.Windows.Automation e ) : void
StopProcessing ( ) : void
SubscribeToEvents ( HasControlInputCmdletBase cmdlet, IUiElement inputObject, UIANET::System.Windows.Automation eventType, UIANET::System.Windows.Automation properties ) : void
TestControlByPropertiesFromHashtable ( IUiElement inputElements, IEnumerable searchCriteria, int timeout ) : bool

Private Methods

Method Description
CheckAndPrepareInput ( HasControlInputCmdletBase cmdlet ) : bool
checkNotNull ( object objectToTest, UIANET::System.Windows.Automation e ) : bool

Method Details

ClickControl() protected method

protected ClickControl ( HasControlInputCmdletBase cmdlet, IUiElement element, ClickSettings settings ) : bool
cmdlet HasControlInputCmdletBase
element IUiElement
settings ClickSettings
return bool

GetColorProbe() protected method

protected GetColorProbe ( HasControlInputCmdletBase cmdlet, IUiElement element ) : bool
cmdlet HasControlInputCmdletBase
element IUiElement
return bool

HasControlInputCmdletBase() public method

public HasControlInputCmdletBase ( ) : System
return System

OnUIAutomationEvent() protected method

protected OnUIAutomationEvent ( object src, UIANET::System.Windows.Automation e ) : void
src object
e UIANET::System.Windows.Automation
return void

OnUIAutomationPropertyChangedEvent() protected method

protected OnUIAutomationPropertyChangedEvent ( object src, UIANET::System.Windows.Automation e ) : void
src object
e UIANET::System.Windows.Automation
return void

OnUIRecordingAutomationEvent() protected method

protected OnUIRecordingAutomationEvent ( object src, UIANET::System.Windows.Automation e ) : void
src object
e UIANET::System.Windows.Automation
return void

OnUIStructureChangedEvent() protected method

protected OnUIStructureChangedEvent ( object src, UIANET::System.Windows.Automation e ) : void
src object
e UIANET::System.Windows.Automation
return void

OnUIWindowClosedEvent() protected method

protected OnUIWindowClosedEvent ( object src, UIANET::System.Windows.Automation e ) : void
src object
e UIANET::System.Windows.Automation
return void

StopProcessing() protected method

protected StopProcessing ( ) : void
return void

SubscribeToEvents() protected method

protected SubscribeToEvents ( HasControlInputCmdletBase cmdlet, IUiElement inputObject, UIANET::System.Windows.Automation eventType, UIANET::System.Windows.Automation properties ) : void
cmdlet HasControlInputCmdletBase
inputObject IUiElement
eventType UIANET::System.Windows.Automation
properties UIANET::System.Windows.Automation
return void

TestControlByPropertiesFromHashtable() protected method

protected TestControlByPropertiesFromHashtable ( IUiElement inputElements, IEnumerable searchCriteria, int timeout ) : bool
inputElements IUiElement
searchCriteria IEnumerable
timeout int
return bool