CodeActionWithOptions.ComputeOperationsAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ComputeOperationsAsync(CancellationToken) | |
ComputeOperationsAsync(Object, CancellationToken) |
Remplacez cette méthode pour calculer les opérations qui implémentent ce CodeAction. |
ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken) |
Remplacez cette méthode pour calculer les opérations qui implémentent ce CodeAction. Préférez remplacer cette méthode lorsque ComputeOperationsAsync(Object, CancellationToken) le calcul est de longue durée et que la progression doit être affichée à l’utilisateur. |
ComputeOperationsAsync(CancellationToken)
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
protected:
override System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputeOperationsAsync(System::Threading::CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (System.Threading.CancellationToken cancellationToken);
override this.ComputeOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overrides Function ComputeOperationsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Paramètres
- cancellationToken
- CancellationToken
Retours
S’applique à
ComputeOperationsAsync(Object, CancellationToken)
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
Remplacez cette méthode pour calculer les opérations qui implémentent ce CodeAction.
protected:
abstract System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputeOperationsAsync(System::Object ^ options, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (object options, System.Threading.CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (object options, System.Threading.CancellationToken cancellationToken);
override this.ComputeOperationsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected MustOverride Function ComputeOperationsAsync (options As Object, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Protected Overridable Function ComputeOperationsAsync (options As Object, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Paramètres
- options
- Object
Un objet instance retourné à partir d’un appel à GetOptions(CancellationToken).
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
S’applique à
ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
Remplacez cette méthode pour calculer les opérations qui implémentent ce CodeAction. Préférez remplacer cette méthode lorsque ComputeOperationsAsync(Object, CancellationToken) le calcul est de longue durée et que la progression doit être affichée à l’utilisateur.
protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (object options, IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> progress, System.Threading.CancellationToken cancellationToken);
override this.ComputeOperationsAsync : obj * IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overridable Function ComputeOperationsAsync (options As Object, progress As IProgress(Of CodeAnalysisProgress), cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Paramètres
- options
- Object
- progress
- IProgress<CodeAnalysisProgress>
- cancellationToken
- CancellationToken