C# Class RazorEngine.Compilation.CSharpLanguageProvider

Defines a language provider that supports C# syntax.
Inheritance: ILanguageProvider
显示文件 Open project: tqc/RazorEngine

Public Methods

Method Description
CreateCodeDomProvider ( ) : CodeDomProvider

Creates a CodeDomProvider.

CreateLanguageService ( ) : RazorCodeLanguage

Creates a code language service.

GenerateClassName ( System type ) : string

Generates a class name for the Template base

This is probably not the right location to put this but it seemed the most logical choice

Method Details

CreateCodeDomProvider() public method

Creates a CodeDomProvider.
public CreateCodeDomProvider ( ) : CodeDomProvider
return CodeDomProvider

CreateLanguageService() public method

Creates a code language service.
public CreateLanguageService ( ) : RazorCodeLanguage
return System.Web.Razor.RazorCodeLanguage

GenerateClassName() public method

Generates a class name for the Template base
This is probably not the right location to put this but it seemed the most logical choice
public GenerateClassName ( System type ) : string
type System
return string