/// <summary> /// Gets a synchronization waiter for given UITestEventType on this element. /// </summary> /// <param name="element">The element to get synchronization waiter for.</param> /// <param name="eventType">The event for which synchronization waiter is required.</param> /// <returns> /// The synchronization waiter for specified event or null if event/waiter is not supported. /// </returns> public override IUISynchronizationWaiter GetSynchronizationWaiter(IUITechnologyElement element, UITestEventType eventType) { return(null); }
/// <summary> /// Removes a global sink to notifiy actions raised by the Add-in /// </summary> /// <param name="eventType">The type of event to remove.</param> /// <param name="eventSink">Sink used for notification</param> /// <returns>True if successful, otherwise false.</returns> public override bool RemoveGlobalEventHandler(UITestEventType eventType, IUITestEventNotify eventSink) { return(false); }
/// <summary> /// Removes an event handler. /// </summary> /// <param name="element">The element and its descendants for which this event should be removed.</param> /// <param name="eventType">The type of event to listen to.</param> /// <param name="eventSink">The event sink interface that was registered.</param> /// <returns>True if the eventType is supported and remove is successful, false otherwise.</returns> public override bool RemoveEventHandler(IUITechnologyElement element, UITestEventType eventType, IUITestEventNotify eventSink) { return(false); }
/// <summary> /// Adds a global sink to notifiy actions raised by the plugin /// </summary> /// <param name="eventType">The type of event to listen to.</param> /// <param name="eventSink">Sink used for notification</param> /// <returns>True if successful, otherwise false.</returns> public override bool AddGlobalEventHandler(UITestEventType eventType, IUITestEventNotify eventSink) { return false; }
/// <summary> /// Adds an event handler. /// </summary> /// <param name="element">The element and its descendants for which this event should be fired.</param> /// <param name="eventType">The type of event to listen to.</param> /// <param name="eventSink">The event sink which should be notified /// when the event occurs.</param> /// <returns>True if the eventType is supported and add is successful, false otherwise.</returns> public override bool AddEventHandler(IUITechnologyElement element, UITestEventType eventType, IUITestEventNotify eventSink) { return false; }
/// <summary> /// Gets a synchronization waiter for given UITestEventType on this element. /// </summary> /// <param name="element">The element to get synchronization waiter for.</param> /// <param name="eventType">The event for which synchronization waiter is required.</param> /// <returns> /// The synchronization waiter for specified event or null if event/waiter is not supported. /// </returns> public override IUISynchronizationWaiter GetSynchronizationWaiter(IUITechnologyElement element, UITestEventType eventType) { return null; }