Compartir a través de


ICommandPredictor.CanAcceptFeedback Method

Definition

Gets a value indicating whether the predictor accepts a specific kind of feedback.

public bool CanAcceptFeedback (System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind feedback);
public virtual bool CanAcceptFeedback (System.Management.Automation.Subsystem.Prediction.PredictionClient client, System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind feedback);
abstract member CanAcceptFeedback : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind -> bool
abstract member CanAcceptFeedback : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind -> bool
override this.CanAcceptFeedback : System.Management.Automation.Subsystem.Prediction.PredictionClient * System.Management.Automation.Subsystem.Prediction.PredictorFeedbackKind -> bool
Public Function CanAcceptFeedback (client As PredictionClient, feedback As PredictorFeedbackKind) As Boolean
Public Overridable Function CanAcceptFeedback (client As PredictionClient, feedback As PredictorFeedbackKind) As Boolean

Parameters

client
PredictionClient

Represents the client that initiates the call.

feedback
PredictorFeedbackKind

A specific type of feedback.

Returns

True or false, to indicate whether the specific feedback is accepted.

Applies to