ICommandPredictor.OnCommandLineAccepted Method

Definition

A command line was accepted to execute. The predictor can start processing early as needed with the latest history.

public virtual void OnCommandLineAccepted(System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Collections.Generic.IReadOnlyList<string> history);
abstract member OnCommandLineAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Collections.Generic.IReadOnlyList<string> -> unit
override this.OnCommandLineAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Collections.Generic.IReadOnlyList<string> -> unit
Public Overridable Sub OnCommandLineAccepted (client As PredictionClient, history As IReadOnlyList(Of String))

Parameters

client
PredictionClient

Represents the client that initiates the call.

history
IReadOnlyList<String>

History command lines provided as references for prediction.

Applies to