using System; namespace OpenTap { /// /// UserInputInterface implementation which returns immediately. Intended for non-interactive use. /// internal class NonInteractiveUserInputInterface : IUserInputInterface { void IUserInputInterface.RequestUserInput(object dataObject, TimeSpan timeout, bool modal) { } internal static bool IsSet() => UserInput.GetInterface() is NonInteractiveUserInputInterface; } }