public AutoReloadInput(Controller currentController, string initialInputContent, int delayMilliseconds) : base(InputType.AutoReload) { _initialInputContent = initialInputContent; _getActionResult = () => { Thread.Sleep(delayMilliseconds); // TODO: extract Thread.Sleep to interface. return new Reload(currentController); }; }
internal Reload(Controller currentController) { _currentController = currentController; }
public AutoReloadInput(Controller currentController) : this(currentController, "", 0) { }