C# 클래스 InternalHelper.Tests.AutomationEvents

Object called from the test cases to test out AutomationEvents
상속: EventObject
파일 보기 프로젝트 열기: geeksree/cSharpGeeks 1 사용 예제들

공개 메소드들

메소드 설명
AddEventHandler ( AutomationEvent eventId, string eventName, AutomationElement element, TreeScope treeScope ) : void

Method that registers the event handler OnEvent()

AutomationEvents ( ) : System

OnEvent ( object element, AutomationEventArgs argument ) : void

Method registered by AddEventHandler() as an event handler

RemoveEventHandler ( AutomationEvent eventId, AutomationElement element ) : void

WasEventFired ( AutomationElement element, AutomationEvent automationEvent ) : EventFired

Method determines if the desired event was fired

메소드 상세

AddEventHandler() 공개 메소드

Method that registers the event handler OnEvent()
public AddEventHandler ( AutomationEvent eventId, string eventName, AutomationElement element, TreeScope treeScope ) : void
eventId System.Windows.Automation.AutomationEvent
eventName string
element System.Windows.Automation.AutomationElement
treeScope TreeScope
리턴 void

AutomationEvents() 공개 메소드

public AutomationEvents ( ) : System
리턴 System

OnEvent() 공개 메소드

Method registered by AddEventHandler() as an event handler
public OnEvent ( object element, AutomationEventArgs argument ) : void
element object
argument System.Windows.Automation.AutomationEventArgs
리턴 void

RemoveEventHandler() 공개 메소드

public RemoveEventHandler ( AutomationEvent eventId, AutomationElement element ) : void
eventId System.Windows.Automation.AutomationEvent
element System.Windows.Automation.AutomationElement
리턴 void

WasEventFired() 공개 메소드

Method determines if the desired event was fired
public WasEventFired ( AutomationElement element, AutomationEvent automationEvent ) : EventFired
element System.Windows.Automation.AutomationElement
automationEvent System.Windows.Automation.AutomationEvent
리턴 EventFired