Mono.Debugger.Frontend.Command.Complete C# (CSharp) Method

Complete() public method

public Complete ( Engine e, string text ) : string[]
e Engine
text string
return string[]
        public virtual string[] Complete(Engine e, string text)
        {
            if (text.StartsWith ("-")) {
                /* do our super cool argument completion on the command's
                 * properties, if there are any.
                 */
                return e.Completer.ArgumentCompleter (GetType(), text);
            }
            else {
                /* otherwise punt */
                return e.Completer.NoopCompleter (text);
            }
        }