Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShiftKeyDown"/> class.
 /// </summary>
 /// <param name="keyState">A <see cref="KeyState"/> object tracking the state of modifier keys.</param>
 public ShiftKeyDown(KeyState keyState)
 {
     this.keyState = keyState;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AltKeyUp"/> class.
 /// </summary>
 /// <param name="keyState">A <see cref="KeyState"/> object tracking the state of modifier keys.</param>
 public AltKeyUp(KeyState keyState)
 {
     this.keyState = keyState;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ShiftKeyUp"/> class.
 /// </summary>
 /// <param name="keyState">A <see cref="KeyState"/> object tracking the state of modifier keys.</param>
 public ShiftKeyUp(KeyState keyState)
 {
     this.keyState = keyState;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MetaKeyDown"/> class.
 /// </summary>
 /// <param name="keyState">A <see cref="KeyState"/> object tracking the state of modifier keys.</param>
 public MetaKeyDown(KeyState keyState)
 {
     this.keyState = keyState;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KeyEvent"/> class.
 /// </summary>
 /// <param name="elementFinder">An <see cref="ElementFinder"/> used to find the element on which to execute the command.</param>
 /// <param name="state">A <see cref="KeyState"/> object defining the state of modifier keys.</param>
 /// <param name="eventName">The name of the event to send.</param>
 public KeyEvent(ElementFinder elementFinder, KeyState state, string eventName)
 {
     this.finder = elementFinder;
     this.keyState = state;
     this.eventName = eventName;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AltKeyDown"/> class.
 /// </summary>
 /// <param name="keyState">A <see cref="KeyState"/> object tracking the state of modifier keys.</param>
 public AltKeyDown(KeyState keyState)
 {
     this.keyState = keyState;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ControlKeyUp"/> class.
 /// </summary>
 /// <param name="keyState">A <see cref="KeyState"/> object tracking the state of modifier keys.</param>
 public ControlKeyUp(KeyState keyState)
 {
     this.keyState = keyState;
 }