다음을 통해 공유


CodeActionWithOptions.ComputeOperationsAsync 메서드

정의

오버로드

ComputeOperationsAsync(CancellationToken)
ComputeOperationsAsync(Object, CancellationToken)

이 메서드를 재정의하여 이 CodeAction를 구현하는 작업을 계산합니다.

ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)

이 메서드를 재정의하여 이 CodeAction를 구현하는 작업을 계산합니다. 계산이 오래 실행되고 진행률이 사용자에게 표시되어야 하는 경우보다 ComputeOperationsAsync(Object, CancellationToken) 이 메서드를 재정의하는 것이 좋습니다.

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))

매개 변수

cancellationToken
CancellationToken

반환

적용 대상

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

이 메서드를 재정의하여 이 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))

매개 변수

options
Object

에 대한 호출GetOptions(CancellationToken)에서 반환된 개체 instance.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상

ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)

Source:
CodeActionWithOptions.cs
Source:
CodeActionWithOptions.cs

이 메서드를 재정의하여 이 CodeAction를 구현하는 작업을 계산합니다. 계산이 오래 실행되고 진행률이 사용자에게 표시되어야 하는 경우보다 ComputeOperationsAsync(Object, CancellationToken) 이 메서드를 재정의하는 것이 좋습니다.

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))

매개 변수

options
Object
cancellationToken
CancellationToken

반환

적용 대상