Esempio n. 1
0
        public static T Get <T>(string header, string message, int maxLength = DefaultMaxLength)
        {
            CPrompt <T> input = new CPrompt <T>(header, message, maxLength);

            input.Show();
            return(input.Result);
        }
Esempio n. 2
0
        public static T Get <T>(string message)
        {
            CPrompt <T> input = new CPrompt <T>(message);

            input.Show();
            return(input.Result);
        }