ICommandPredictor.OnCommandLineAccepted Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A command line was accepted to execute. The predictor can start processing early as needed with the latest history.
public void OnCommandLineAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Collections.Generic.IReadOnlyList<string> 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
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 Sub OnCommandLineAccepted (client As PredictionClient, history As IReadOnlyList(Of String))
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.