CodeAction.GetChangedSolutionAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetChangedSolutionAsync(CancellationToken) |
计算整个解决方案的所有更改。 如果要实现更改多个文档的 CodeAction 子类,请重写此方法。 重写 GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) 以在计算操作时报告进度。 |
GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) |
计算整个解决方案的所有更改。 如果要实现更改多个文档的 CodeAction 子类,请重写此方法。 优先于在计算长时间运行且应向用户显示进度时重写此方法 GetChangedSolutionAsync(CancellationToken) 。 |
GetChangedSolutionAsync(CancellationToken)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
计算整个解决方案的所有更改。 如果要实现更改多个文档的 CodeAction 子类,请重写此方法。 重写 GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) 以在计算操作时报告进度。
protected:
virtual System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Solution ^> ^ GetChangedSolutionAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution> GetChangedSolutionAsync (System.Threading.CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution?> GetChangedSolutionAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetChangedSolutionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
override this.GetChangedSolutionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
Protected Overridable Function GetChangedSolutionAsync (cancellationToken As CancellationToken) As Task(Of Solution)
参数
- cancellationToken
- CancellationToken
返回
适用于
GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
计算整个解决方案的所有更改。 如果要实现更改多个文档的 CodeAction 子类,请重写此方法。 优先于在计算长时间运行且应向用户显示进度时重写此方法 GetChangedSolutionAsync(CancellationToken) 。
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution?> GetChangedSolutionAsync (IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> progress, System.Threading.CancellationToken cancellationToken);
abstract member GetChangedSolutionAsync : IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
override this.GetChangedSolutionAsync : IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
Protected Overridable Function GetChangedSolutionAsync (progress As IProgress(Of CodeAnalysisProgress), cancellationToken As CancellationToken) As Task(Of Solution)
参数
- progress
- IProgress<CodeAnalysisProgress>
- cancellationToken
- CancellationToken