public Task <List <PredictionResult> > PredictInput(Ast ast, Token[] tokens)
        {
            var result = ReadLine.MockedPredictInput(ast, tokens);
            var source = new TaskCompletionSource <List <PredictionResult> >();

            source.SetResult(result);
            return(source.Task);
        }
 public object GetDynamicHelpContent(string commandName, string parameterName, bool isFullHelp)
 {
     return(ReadLine.GetDynamicHelpContent(commandName, parameterName, isFullHelp));
 }
 public CommandCompletion CompleteInput(string input, int cursorIndex, Hashtable options, PowerShell powershell)
 {
     return(ReadLine.MockedCompleteInput(input, cursorIndex, options, powershell));
 }