PowerArgs.Cli.ContextAssistPicker.Pick C# (CSharp) Method

Pick() public method

Lets the user pick from the set of options.
public Pick ( IConsoleProvider console = null, bool allowCancel = true ) : ContextAssistSearchResult
console IConsoleProvider optionally provide a custom console implementation
allowCancel bool if true, users can cancel picking by pressing the escape key. If false, the escape key does nothing.
return ContextAssistSearchResult
        public ContextAssistSearchResult Pick(IConsoleProvider console = null, bool allowCancel = true)
        {
            return this.Search(console, allowCancel);
        }