Пример #1
0
 public void ShowInputPrompt(string prompt)
 {
     OnForceRefresh();
     InputViewModel        = new InputViewModel();
     InputViewModel.Prompt = prompt;
     InputViewModel.Input += InputViewModel_Input;
     IsInputActive         = true;
 }
Пример #2
0
 public void Reset()
 {
     OnTextCleared();
     IsInputActive  = false;
     InputViewModel = null;
 }