CommandPrediction Class
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.
Provides a set of possible predictions for given input.
public static class CommandPrediction
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public static class CommandPrediction
type CommandPrediction = class
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type CommandPrediction = class
Public Class CommandPrediction
- Inheritance
-
CommandPrediction
- Attributes
Methods
OnCommandLineAccepted(PredictionClient, IReadOnlyList<String>) |
Allow registered predictors to do early processing when a command line is accepted. |
OnCommandLineExecuted(PredictionClient, String, Boolean) |
Allow registered predictors to know the execution result (success/failure) of the last accepted command line. |
OnSuggestionAccepted(PredictionClient, Guid, UInt32, String) |
Send feedback to a predictor when a suggestion from it was accepted. |
OnSuggestionDisplayed(PredictionClient, Guid, UInt32, Int32) |
Send feedback to a predictor when one or more suggestions from it were displayed to the user. |
PredictInputAsync(PredictionClient, Ast, Token[], Int32) |
Collect the predictive suggestions from registered predictors using the specified timeout. |
PredictInputAsync(PredictionClient, Ast, Token[]) |
Collect the predictive suggestions from registered predictors using the default timeout. |