CommandPrediction.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.
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.