C# Class MonoTests.Mono.UIAutomation.Winforms.MockBridge

Inheritance: IAutomationBridge
Show file Open project: mono/uia2atk Class Usage Examples

Public Properties

Property Type Description
AutomationEvents List
AutomationPropertyChangedEvents List
StructureChangedEvents List

Public Methods

Method Description
GetAutomationEventAt ( int index ) : AutomationEventTuple
GetAutomationEventCount ( AutomationEvent eventId ) : int
GetAutomationEventFrom ( object provider, int id ) : AutomationEventTuple
GetAutomationPropertyEventAt ( int index ) : AutomationPropertyChangedEventTuple
GetAutomationPropertyEventCount ( AutomationProperty propertyId ) : int
GetAutomationPropertyEventFrom ( object element, int id ) : AutomationPropertyChangedEventTuple
GetStructureChangedEventAt ( int index, StructureChangeType changeType ) : StructureChangedEventTuple
GetStructureChangedEventCount ( StructureChangeType changeType ) : int
GetStructureChangedEventFrom ( StructureChangeType changeType ) : StructureChangedEventTuple
GetStructureChangedEventFrom ( object element, StructureChangeType changeType ) : StructureChangedEventTuple
HostProviderFromHandle ( IntPtr hwnd ) : object
Initialize ( ) : void
RaiseAutomationEvent ( AutomationEvent eventId, object provider, AutomationEventArgs e ) : void
RaiseAutomationPropertyChangedEvent ( object element, AutomationPropertyChangedEventArgs e ) : void
RaiseStructureChangedEvent ( object provider, StructureChangedEventArgs e ) : void
ResetEventLists ( ) : void
Terminate ( ) : void

Method Details

GetAutomationEventAt() public method

public GetAutomationEventAt ( int index ) : AutomationEventTuple
index int
return AutomationEventTuple

GetAutomationEventCount() public method

public GetAutomationEventCount ( AutomationEvent eventId ) : int
eventId System.Windows.Automation.AutomationEvent
return int

GetAutomationEventFrom() public method

public GetAutomationEventFrom ( object provider, int id ) : AutomationEventTuple
provider object
id int
return AutomationEventTuple

GetAutomationPropertyEventAt() public method

public GetAutomationPropertyEventAt ( int index ) : AutomationPropertyChangedEventTuple
index int
return AutomationPropertyChangedEventTuple

GetAutomationPropertyEventCount() public method

public GetAutomationPropertyEventCount ( AutomationProperty propertyId ) : int
propertyId System.Windows.Automation.AutomationProperty
return int

GetAutomationPropertyEventFrom() public method

public GetAutomationPropertyEventFrom ( object element, int id ) : AutomationPropertyChangedEventTuple
element object
id int
return AutomationPropertyChangedEventTuple

GetStructureChangedEventAt() public method

public GetStructureChangedEventAt ( int index, StructureChangeType changeType ) : StructureChangedEventTuple
index int
changeType StructureChangeType
return StructureChangedEventTuple

GetStructureChangedEventCount() public method

public GetStructureChangedEventCount ( StructureChangeType changeType ) : int
changeType StructureChangeType
return int

GetStructureChangedEventFrom() public method

public GetStructureChangedEventFrom ( StructureChangeType changeType ) : StructureChangedEventTuple
changeType StructureChangeType
return StructureChangedEventTuple

GetStructureChangedEventFrom() public method

public GetStructureChangedEventFrom ( object element, StructureChangeType changeType ) : StructureChangedEventTuple
element object
changeType StructureChangeType
return StructureChangedEventTuple

HostProviderFromHandle() public method

public HostProviderFromHandle ( IntPtr hwnd ) : object
hwnd System.IntPtr
return object

Initialize() public method

public Initialize ( ) : void
return void

RaiseAutomationEvent() public method

public RaiseAutomationEvent ( AutomationEvent eventId, object provider, AutomationEventArgs e ) : void
eventId System.Windows.Automation.AutomationEvent
provider object
e System.Windows.Automation.AutomationEventArgs
return void

RaiseAutomationPropertyChangedEvent() public method

public RaiseAutomationPropertyChangedEvent ( object element, AutomationPropertyChangedEventArgs e ) : void
element object
e System.Windows.Automation.AutomationPropertyChangedEventArgs
return void

RaiseStructureChangedEvent() public method

public RaiseStructureChangedEvent ( object provider, StructureChangedEventArgs e ) : void
provider object
e System.Windows.Automation.StructureChangedEventArgs
return void

ResetEventLists() public method

public ResetEventLists ( ) : void
return void

Terminate() public method

public Terminate ( ) : void
return void

Property Details

AutomationEvents public property

public List AutomationEvents
return List

AutomationPropertyChangedEvents public property

public List AutomationPropertyChangedEvents
return List

StructureChangedEvents public property

public List StructureChangedEvents
return List