C# Class Sanderling.Script.ToScriptExtension

Extension methods for consumption by scripts.
Show file Open project: Arcitectus/Sanderling

Public Methods

Method Description
InvalidateMeasurement ( this sanderling ) : void
IsAltKey ( this key ) : bool
IsCtrlKey ( this key ) : bool
KeyDown ( this sanderling, IEnumerable listKey ) : MotionResult
KeyDown ( this sanderling, VirtualKeyCode key ) : MotionResult
KeyUp ( this sanderling, IEnumerable listKey ) : MotionResult
KeyUp ( this sanderling, VirtualKeyCode key ) : MotionResult
KeyboardPress ( this sanderling, VirtualKeyCode key ) : MotionResult
KeyboardPressCombined ( this sanderling, IEnumerable setKey ) : MotionResult
KeyboardPressSequence ( this sanderling, IEnumerable listKey ) : IEnumerable
MouseClick ( this host, IUIElement destination, MouseButtonIdEnum mouseButton ) : MotionResult
MouseClickLeft ( this host, IUIElement destination ) : MotionResult
MouseClickRight ( this host, IUIElement destination ) : MotionResult
MouseDragAndDrop ( this host, IUIElement elementToDrag, IUIElement destination ) : MotionResult
MouseDragAndDrop ( this host, IUIElement elementToDrag, IUIElement destination, MouseButtonIdEnum mouseButton ) : MotionResult
MouseMove ( this host, IUIElement destination, MouseButtonIdEnum mouseButton = null ) : MotionResult
TextEntry ( this sanderling, string text ) : MotionResult
WaitForMeasurement ( this sanderling ) : void
WindowPostMessage ( this host, uint msg, IntPtr wParam, IntPtr lParam = default(IntPtr) ) : bool
WindowPostMessageKeyDown ( this host, VirtualKeyCode key, IntPtr lParam = default(IntPtr) ) : bool
WindowPostMessageKeyUp ( this host, VirtualKeyCode key, IntPtr lParam = default(IntPtr) ) : bool
WindowToForeground ( this sanderling ) : MotionResult

Method Details

InvalidateMeasurement() static public method

static public InvalidateMeasurement ( this sanderling ) : void
sanderling this
return void

IsAltKey() static public method

static public IsAltKey ( this key ) : bool
key this
return bool

IsCtrlKey() static public method

static public IsCtrlKey ( this key ) : bool
key this
return bool

KeyDown() static public method

static public KeyDown ( this sanderling, IEnumerable listKey ) : MotionResult
sanderling this
listKey IEnumerable
return MotionResult

KeyDown() static public method

static public KeyDown ( this sanderling, VirtualKeyCode key ) : MotionResult
sanderling this
key VirtualKeyCode
return MotionResult

KeyUp() static public method

static public KeyUp ( this sanderling, IEnumerable listKey ) : MotionResult
sanderling this
listKey IEnumerable
return MotionResult

KeyUp() static public method

static public KeyUp ( this sanderling, VirtualKeyCode key ) : MotionResult
sanderling this
key VirtualKeyCode
return MotionResult

KeyboardPress() static public method

static public KeyboardPress ( this sanderling, VirtualKeyCode key ) : MotionResult
sanderling this
key VirtualKeyCode
return MotionResult

KeyboardPressCombined() static public method

static public KeyboardPressCombined ( this sanderling, IEnumerable setKey ) : MotionResult
sanderling this
setKey IEnumerable
return MotionResult

KeyboardPressSequence() static public method

static public KeyboardPressSequence ( this sanderling, IEnumerable listKey ) : IEnumerable
sanderling this
listKey IEnumerable
return IEnumerable

MouseClick() static public method

static public MouseClick ( this host, IUIElement destination, MouseButtonIdEnum mouseButton ) : MotionResult
host this
destination IUIElement
mouseButton MouseButtonIdEnum
return MotionResult

MouseClickLeft() static public method

static public MouseClickLeft ( this host, IUIElement destination ) : MotionResult
host this
destination IUIElement
return MotionResult

MouseClickRight() static public method

static public MouseClickRight ( this host, IUIElement destination ) : MotionResult
host this
destination IUIElement
return MotionResult

MouseDragAndDrop() static public method

static public MouseDragAndDrop ( this host, IUIElement elementToDrag, IUIElement destination ) : MotionResult
host this
elementToDrag IUIElement
destination IUIElement
return MotionResult

MouseDragAndDrop() static public method

static public MouseDragAndDrop ( this host, IUIElement elementToDrag, IUIElement destination, MouseButtonIdEnum mouseButton ) : MotionResult
host this
elementToDrag IUIElement
destination IUIElement
mouseButton MouseButtonIdEnum
return MotionResult

MouseMove() static public method

static public MouseMove ( this host, IUIElement destination, MouseButtonIdEnum mouseButton = null ) : MotionResult
host this
destination IUIElement
mouseButton MouseButtonIdEnum
return MotionResult

TextEntry() static public method

static public TextEntry ( this sanderling, string text ) : MotionResult
sanderling this
text string
return MotionResult

WaitForMeasurement() static public method

static public WaitForMeasurement ( this sanderling ) : void
sanderling this
return void

WindowPostMessage() static public method

static public WindowPostMessage ( this host, uint msg, IntPtr wParam, IntPtr lParam = default(IntPtr) ) : bool
host this
msg uint
wParam System.IntPtr
lParam System.IntPtr
return bool

WindowPostMessageKeyDown() static public method

static public WindowPostMessageKeyDown ( this host, VirtualKeyCode key, IntPtr lParam = default(IntPtr) ) : bool
host this
key VirtualKeyCode
lParam System.IntPtr
return bool

WindowPostMessageKeyUp() static public method

static public WindowPostMessageKeyUp ( this host, VirtualKeyCode key, IntPtr lParam = default(IntPtr) ) : bool
host this
key VirtualKeyCode
lParam System.IntPtr
return bool

WindowToForeground() static public method

static public WindowToForeground ( this sanderling ) : MotionResult
sanderling this
return MotionResult