1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| using System;
|
| namespace OpenTap
| {
| /// <summary>
| /// UserInputInterface implementation which returns immediately. Intended for non-interactive use.
| /// </summary>
| internal class NonInteractiveUserInputInterface : IUserInputInterface
| {
| void IUserInputInterface.RequestUserInput(object dataObject, TimeSpan timeout, bool modal)
| {
|
| }
|
| internal static bool IsSet() => UserInput.GetInterface() is NonInteractiveUserInputInterface;
| }
| }
|
|