ICommandPredictor.GetSuggestion(PredictionContext, CancellationToken) 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.
public System.Collections.Generic.List<System.Management.Automation.Subsystem.PredictiveSuggestion> GetSuggestion (System.Management.Automation.Subsystem.PredictionContext context, System.Threading.CancellationToken cancellationToken);
abstract member GetSuggestion : System.Management.Automation.Subsystem.PredictionContext * System.Threading.CancellationToken -> System.Collections.Generic.List<System.Management.Automation.Subsystem.PredictiveSuggestion>
Public Function GetSuggestion (context As PredictionContext, cancellationToken As CancellationToken) As List(Of PredictiveSuggestion)
Parameters
- context
- PredictionContext
- cancellationToken
- CancellationToken