SyntaxEditor Constructors

Definition

Overloads

SyntaxEditor(SyntaxNode, HostWorkspaceServices)

Creates a new SyntaxEditor instance.

SyntaxEditor(SyntaxNode, SolutionServices)

Creates a new SyntaxEditor instance.

SyntaxEditor(SyntaxNode, Workspace)
Obsolete.

Creates a new SyntaxEditor instance.

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

Creates a new SyntaxEditor instance.

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)

Parameters

root
SyntaxNode

Applies to

SyntaxEditor(SyntaxNode, SolutionServices)

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

Creates a new SyntaxEditor instance.

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)

Parameters

root
SyntaxNode
services
SolutionServices

Applies to

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

Caution

Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)

Creates a new SyntaxEditor instance.

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)

Parameters

root
SyntaxNode
workspace
Workspace
Attributes

Applies to