예제 #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);
        }
예제 #2
0
        public static T Get <T>(string message)
        {
            CPrompt <T> input = new CPrompt <T>(message);

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