CSharpRazorCodeLanguage Class
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.
Defines the C# Code Language for Razor
public ref class CSharpRazorCodeLanguage : Microsoft::AspNetCore::Razor::RazorCodeLanguage
public class CSharpRazorCodeLanguage : Microsoft.AspNetCore.Razor.RazorCodeLanguage
type CSharpRazorCodeLanguage = class
inherit RazorCodeLanguage
Public Class CSharpRazorCodeLanguage
Inherits RazorCodeLanguage
- Inheritance
Constructors
CSharpRazorCodeLanguage() |
Properties
LanguageName |
Returns the name of the language: "csharp" |
Methods
CreateChunkGenerator(String, String, String, RazorEngineHost) |
Constructs a new instance of the chunk generator for this language with the specified settings |
CreateCodeGenerator(CodeGeneratorContext) | |
CreateCodeParser() |
Constructs a new instance of the code parser for this language |