Share via


CSharpRazorCodeLanguage Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a Razor code language that is based on C# syntax.

Inheritance Hierarchy

System.Object
  System.Web.Razor.RazorCodeLanguage
    System.Web.Razor.CSharpRazorCodeLanguage

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

Syntax

'Declaration
Public Class CSharpRazorCodeLanguage _
    Inherits RazorCodeLanguage
'Usage
Dim instance As CSharpRazorCodeLanguage
public class CSharpRazorCodeLanguage : RazorCodeLanguage
public ref class CSharpRazorCodeLanguage : public RazorCodeLanguage
type CSharpRazorCodeLanguage =  
    class 
        inherit RazorCodeLanguage 
    end
public class CSharpRazorCodeLanguage extends RazorCodeLanguage

The CSharpRazorCodeLanguage type exposes the following members.

Constructors

  Name Description
Public method CSharpRazorCodeLanguage This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the CSharpRazorCodeLanguage class.

Top

Properties

  Name Description
Public property CodeDomProviderType This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the type of the code provider. (Overrides RazorCodeLanguage.CodeDomProviderType.)
Public property LanguageName This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the name of the C# code language. (Overrides RazorCodeLanguage.LanguageName.)

Top

Methods

  Name Description
Public method CreateCodeGenerator This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a new Razor code generator based on C# code language. (Overrides RazorCodeLanguage.CreateCodeGenerator(String, String, String, RazorEngineHost).)
Public method CreateCodeParser This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a new code parser for C# code language. (Overrides RazorCodeLanguage.CreateCodeParser().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.

See Also

Reference

System.Web.Razor Namespace