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.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

public ref class RazorCodeLanguage abstract

The RazorCodeLanguage type exposes the following members.

  NameDescription
Protected methodRazorCodeLanguageInitializes 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

  NameDescription
Public propertyCodeDomProviderTypeGets 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.
Public propertyLanguageNameGets 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.
Public propertyStatic memberLanguagesGets 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

  NameDescription
Public methodCreateCodeGeneratorCreates 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.
Public methodCreateCodeParserCreates 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.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetLanguageByExtensionGets 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.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: