ClassArrayExtensions
Class
Extensions for desktop element array.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.Controls
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public static class ArrayExtensions
Inheritance: objectArrayExtensions
Methods
As<T>(DesktopElement[])
Convert all items of element array to array of specified control type.
Declaration
cs-api-definition
public static T[] As<T>(this DesktopElement[] elements) where T : DesktopControl
Parameters
elements
Array of elements.
Returns
T[]
CastIncludingAncestors<T>(DesktopElement[])
Cast all items of element array to array of specified control type.
Declaration
cs-api-definition
public static T[] CastIncludingAncestors<T>(this DesktopElement[] elements) where T : DesktopControl
Parameters
elements
Array of elements.
Returns
T[]