CodeAction.PostProcessChangesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PostProcessChangesAsync(Document, CancellationToken) |
将后处理步骤应用于单个文档:减少使用 Annotation 批注的带批注的节点进行批注的节点 Annotation |
PostProcessChangesAsync(Solution, CancellationToken) |
将后处理步骤应用于解决方案更改,例如格式设置和简化。 |
PostProcessChangesAsync(Document, 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
将后处理步骤应用于单个文档:减少使用 Annotation 批注的带批注的节点进行批注的节点 Annotation
protected:
virtual System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Document ^> ^ PostProcessChangesAsync(Microsoft::CodeAnalysis::Document ^ document, System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document> PostProcessChangesAsync (Microsoft.CodeAnalysis.Document document, System.Threading.CancellationToken cancellationToken);
abstract member PostProcessChangesAsync : Microsoft.CodeAnalysis.Document * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>
override this.PostProcessChangesAsync : Microsoft.CodeAnalysis.Document * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>
Protected Overridable Function PostProcessChangesAsync (document As Document, cancellationToken As CancellationToken) As Task(Of Document)
参数
- document
- Document
文档已 CodeAction更改。
- cancellationToken
- CancellationToken
取消标记。
返回
应用后处理更改的文档。
适用于
PostProcessChangesAsync(Solution, 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
将后处理步骤应用于解决方案更改,例如格式设置和简化。
protected:
System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Solution ^> ^ PostProcessChangesAsync(Microsoft::CodeAnalysis::Solution ^ changedSolution, System::Threading::CancellationToken cancellationToken);
protected System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution> PostProcessChangesAsync (Microsoft.CodeAnalysis.Solution changedSolution, System.Threading.CancellationToken cancellationToken);
member this.PostProcessChangesAsync : Microsoft.CodeAnalysis.Solution * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
Protected Function PostProcessChangesAsync (changedSolution As Solution, cancellationToken As CancellationToken) As Task(Of Solution)
参数
- changedSolution
- Solution
解决方案已更改 CodeAction。
- cancellationToken
- CancellationToken
取消令牌