CommandPrediction.OnCommandLineAccepted Method

Definition

Allow registered predictors to do early processing when a command line is accepted.

public static void OnCommandLineAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Collections.Generic.IReadOnlyList<string> history);
static member OnCommandLineAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Collections.Generic.IReadOnlyList<string> -> unit
Public Shared 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