GitSharp.Core.FormUserInfoProvider.Prompt C# (CSharp) Method

Prompt() private static method

private static Prompt ( string message, string &input ) : bool
message string
input string
return bool
        private static bool Prompt(string message, ref string input)
        {
            var form = new PromptForm {Message = message};

            var result = form.ShowDialog();
            if (result == DialogResult.OK)
            {
                input = form.Input;
                return true;
            }

            return false;
        }