Esempio n. 1
0
 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);
     };
 }
Esempio n. 2
0
 internal Reload(Controller currentController)
 {
     _currentController = currentController;
 }
Esempio n. 3
0
 public AutoReloadInput(Controller currentController)
     : this(currentController, "", 0)
 {
 }