SyntaxGenerator.GetGenerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetGenerator(Workspace, String) |
Gets the SyntaxGenerator for the specified language. |
GetGenerator(Document) |
Gets the SyntaxGenerator for the language corresponding to the document. |
GetGenerator(Project) |
Gets the SyntaxGenerator for the language corresponding to the project. |
GetGenerator(Workspace, String)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Gets the SyntaxGenerator for the specified language.
public:
static Microsoft::CodeAnalysis::Editing::SyntaxGenerator ^ GetGenerator(Microsoft::CodeAnalysis::Workspace ^ workspace, System::String ^ language);
public static Microsoft.CodeAnalysis.Editing.SyntaxGenerator GetGenerator (Microsoft.CodeAnalysis.Workspace workspace, string language);
static member GetGenerator : Microsoft.CodeAnalysis.Workspace * string -> Microsoft.CodeAnalysis.Editing.SyntaxGenerator
Public Shared Function GetGenerator (workspace As Workspace, language As String) As SyntaxGenerator
Parameters
- workspace
- Workspace
- language
- String
Returns
Applies to
GetGenerator(Document)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Gets the SyntaxGenerator for the language corresponding to the document.
public:
static Microsoft::CodeAnalysis::Editing::SyntaxGenerator ^ GetGenerator(Microsoft::CodeAnalysis::Document ^ document);
public static Microsoft.CodeAnalysis.Editing.SyntaxGenerator GetGenerator (Microsoft.CodeAnalysis.Document document);
static member GetGenerator : Microsoft.CodeAnalysis.Document -> Microsoft.CodeAnalysis.Editing.SyntaxGenerator
Public Shared Function GetGenerator (document As Document) As SyntaxGenerator
Parameters
- document
- Document
Returns
Applies to
GetGenerator(Project)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Gets the SyntaxGenerator for the language corresponding to the project.
public:
static Microsoft::CodeAnalysis::Editing::SyntaxGenerator ^ GetGenerator(Microsoft::CodeAnalysis::Project ^ project);
public static Microsoft.CodeAnalysis.Editing.SyntaxGenerator GetGenerator (Microsoft.CodeAnalysis.Project project);
static member GetGenerator : Microsoft.CodeAnalysis.Project -> Microsoft.CodeAnalysis.Editing.SyntaxGenerator
Public Shared Function GetGenerator (project As Project) As SyntaxGenerator
Parameters
- project
- Project