RazorCodeLanguage Class
Represents the base for all Razor code language.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Inheritance Hierarchy
System.Object
System.Web.Razor.RazorCodeLanguage
System.Web.Razor.CSharpRazorCodeLanguage
System.Web.Razor.VBRazorCodeLanguage
Namespace: System.Web.Razor
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public MustInherit Class RazorCodeLanguage
'Usage
Dim instance As RazorCodeLanguage
public abstract class RazorCodeLanguage
public ref class RazorCodeLanguage abstract
[<AbstractClassAttribute>]
type RazorCodeLanguage = class end
public abstract class RazorCodeLanguage
The RazorCodeLanguage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
RazorCodeLanguage | Initializes a new instance of the RazorCodeLanguage class.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
CodeDomProviderType | Gets the type of the CodeDOM provider.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() |
LanguageName | Gets the language name of the current Razor code, that is “csharp” or “vb”.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() |
Languages | Gets the list of language supported by the Razor code.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CreateCodeGenerator | Creates the code generator for the Razor code language.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() |
CreateCodeParser | Creates the code parser for the Razor code language.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() ![]() |
GetLanguageByExtension | Gets the language of the Razor code using the specified file extension.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.