C# Класс RazorEngine.Compilation.CSharpLanguageProvider

Defines a language provider that supports C# syntax.
Наследование: ILanguageProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CreateCodeDomProvider() публичный Метод

Creates a CodeDomProvider.
public CreateCodeDomProvider ( ) : CodeDomProvider
Результат CodeDomProvider

CreateLanguageService() публичный Метод

Creates a code language service.
public CreateLanguageService ( ) : RazorCodeLanguage
Результат System.Web.Razor.RazorCodeLanguage

GenerateClassName() публичный Метод

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
Результат string