Condividi tramite


ICommandPredictor.GetSuggestion(PredictionContext, CancellationToken) Method

Definition

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

cancellationToken
CancellationToken

Returns

Applies to