Share via


ICommandPredictor.OnSuggestionAccepted Method

Definition

The suggestion provided by the predictor was accepted.

public void OnSuggestionAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, uint session, string acceptedSuggestion);
public virtual void OnSuggestionAccepted (System.Management.Automation.Subsystem.Prediction.PredictionClient client, uint session, string acceptedSuggestion);
abstract member OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * uint32 * string -> unit
abstract member OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * uint32 * string -> unit
override this.OnSuggestionAccepted : System.Management.Automation.Subsystem.Prediction.PredictionClient * uint32 * string -> unit
Public Sub OnSuggestionAccepted (client As PredictionClient, session As UInteger, acceptedSuggestion As String)
Public Overridable Sub OnSuggestionAccepted (client As PredictionClient, session As UInteger, acceptedSuggestion As String)

Parameters

client
PredictionClient

Represents the client that initiates the call.

session
UInt32

Represents the mini-session where the accepted suggestion came from.

acceptedSuggestion
String

The accepted suggestion text.

Applies to