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
計算整個解決方案的所有變更。 如果您想要實 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
計算整個解決方案的所有變更。 如果您想要實 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