Пример #1
0
        public bool GetShouldSaveCredentials()
        {
            string promptMsg      = Prompts.Prompt_ShouldSaveCredentials;
            string emptyErrMsg    = Errors.Error_InvalidShouldSaveCredentials_Empty;
            string notYesNoErrMsg = Errors.Error_InvalidShouldSaveCredentials_NotYesNo;

            return(ConsoleIo.GetYesNo(promptMsg, emptyErrMsg, notYesNoErrMsg));
        }
Пример #2
0
        private bool GetUseSavedCredentials()
        {
            string promptMsg      = Prompts.Prompt_UseSavedCredentials;
            string emptyErrMsg    = Errors.Error_InvalidUseSavedCredentials_Empty;
            string notYesNoErrMsg = Errors.Error_InvalidUseSavedCredentials_NotYesNo;

            return(ConsoleIo.GetYesNo(promptMsg, emptyErrMsg, notYesNoErrMsg));
        }