/// <summary>
 /// Sends the list of <see cref="INPUT"/> messages using the <see cref="IInputMessageDispatcher"/> instance.
 /// </summary>
 /// <param name="inputList">The <see cref="System.Array"/> of <see cref="INPUT"/> messages to send.</param>
 /// <returns>The number of successful messages that were sent.</returns>
 private int SendSimulatedInput(INPUT[] inputList)
 {
     if (inputList == null || inputList.Length == 0)
     {
         return(-1);
     }
     return((int)_messageDispatcher.DispatchInput(inputList));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sends the list of <see cref="INPUT"/> messages using the <see cref="IInputMessageDispatcher"/> instance.
 /// </summary>
 /// <param name="inputList">The <see cref="System.Array"/> of <see cref="INPUT"/> messages to send.</param>
 private void SendSimulatedInput(INPUT[] inputList)
 {
     _messageDispatcher.DispatchInput(inputList);
 }