SymbolEditor.EditAllDeclarationsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EditAllDeclarationsAsync(ISymbol, SymbolEditor+AsyncDeclarationEditAction, CancellationToken) |
启用编辑所有符号的声明。 分部类型和方法可能有多个声明。 |
EditAllDeclarationsAsync(ISymbol, SymbolEditor+DeclarationEditAction, CancellationToken) |
启用编辑所有符号的声明。 分部类型和方法可能有多个声明。 |
EditAllDeclarationsAsync(ISymbol, SymbolEditor+AsyncDeclarationEditAction, CancellationToken)
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
启用编辑所有符号的声明。 分部类型和方法可能有多个声明。
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol> EditAllDeclarationsAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Editing.SymbolEditor.AsyncDeclarationEditAction editAction, System.Threading.CancellationToken cancellationToken = default);
member this.EditAllDeclarationsAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Editing.SymbolEditor.AsyncDeclarationEditAction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol>
Public Function EditAllDeclarationsAsync (symbol As ISymbol, editAction As SymbolEditor.AsyncDeclarationEditAction, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISymbol)
参数
- symbol
- ISymbol
要编辑的符号。
- editAction
- SymbolEditor.AsyncDeclarationEditAction
对声明进行编辑的操作。
- cancellationToken
- CancellationToken
一个可选的 CancellationToken。
返回
包括更改的新符号。
适用于
EditAllDeclarationsAsync(ISymbol, SymbolEditor+DeclarationEditAction, CancellationToken)
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
- Source:
- SymbolEditor.cs
启用编辑所有符号的声明。 分部类型和方法可能有多个声明。
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol> EditAllDeclarationsAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Editing.SymbolEditor.DeclarationEditAction editAction, System.Threading.CancellationToken cancellationToken = default);
member this.EditAllDeclarationsAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Editing.SymbolEditor.DeclarationEditAction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol>
Public Function EditAllDeclarationsAsync (symbol As ISymbol, editAction As SymbolEditor.DeclarationEditAction, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISymbol)
参数
- symbol
- ISymbol
要编辑的符号。
- editAction
- SymbolEditor.DeclarationEditAction
对声明进行编辑的操作。
- cancellationToken
- CancellationToken
一个可选的 CancellationToken。
返回
包括更改的新符号。