SyntaxEditor 构造函数

定义

重载

SyntaxEditor(SyntaxNode, HostWorkspaceServices)

创建一个新的 SyntaxEditor 实例。

SyntaxEditor(SyntaxNode, SolutionServices)

创建一个新的 SyntaxEditor 实例。

SyntaxEditor(SyntaxNode, Workspace)
已过时.

创建一个新的 SyntaxEditor 实例。

SyntaxEditor(SyntaxNode, HostWorkspaceServices)

Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs

创建一个新的 SyntaxEditor 实例。

public SyntaxEditor (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.Host.HostWorkspaceServices services);
new Microsoft.CodeAnalysis.Editing.SyntaxEditor : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Host.HostWorkspaceServices -> Microsoft.CodeAnalysis.Editing.SyntaxEditor
Public Sub New (root As SyntaxNode, services As HostWorkspaceServices)

参数

root
SyntaxNode

适用于

SyntaxEditor(SyntaxNode, SolutionServices)

Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs

创建一个新的 SyntaxEditor 实例。

public SyntaxEditor (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.Host.SolutionServices services);
new Microsoft.CodeAnalysis.Editing.SyntaxEditor : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Host.SolutionServices -> Microsoft.CodeAnalysis.Editing.SyntaxEditor
Public Sub New (root As SyntaxNode, services As SolutionServices)

参数

root
SyntaxNode
services
SolutionServices

适用于

SyntaxEditor(SyntaxNode, Workspace)

Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs
Source:
SyntaxEditor.cs

注意

Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)

创建一个新的 SyntaxEditor 实例。

public:
 SyntaxEditor(Microsoft::CodeAnalysis::SyntaxNode ^ root, Microsoft::CodeAnalysis::Workspace ^ workspace);
public SyntaxEditor (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.Workspace workspace);
[System.Obsolete("Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)")]
public SyntaxEditor (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.Workspace workspace);
new Microsoft.CodeAnalysis.Editing.SyntaxEditor : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Workspace -> Microsoft.CodeAnalysis.Editing.SyntaxEditor
[<System.Obsolete("Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)")>]
new Microsoft.CodeAnalysis.Editing.SyntaxEditor : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Workspace -> Microsoft.CodeAnalysis.Editing.SyntaxEditor
Public Sub New (root As SyntaxNode, workspace As Workspace)

参数

root
SyntaxNode
workspace
Workspace
属性

适用于