C# Класс SuperSimpleViewEngine.Tests.FakeViewEngineHost

Наследование: IViewEngineHost
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AntiForgeryToken ( ) : string
ExpandPath ( string path ) : string

Expands a path to include any base paths

FakeViewEngineHost ( ) : System
GetTemplate ( string templateName, object model ) : string

Get the contenst of a template

GetUriString ( string name ) : string

Gets a uri string for a named route

HtmlEncode ( string input ) : string

Html "safe" encode a string

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

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

public AntiForgeryToken ( ) : string
Результат string

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

Expands a path to include any base paths
public ExpandPath ( string path ) : string
path string Path to expand
Результат string

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

public FakeViewEngineHost ( ) : System
Результат System

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

Get the contenst of a template
public GetTemplate ( string templateName, object model ) : string
templateName string Name/location of the template
model object Model to use to locate the template via conventions
Результат string

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

Gets a uri string for a named route
public GetUriString ( string name ) : string
name string Named route name
Результат string

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

Html "safe" encode a string
public HtmlEncode ( string input ) : string
input string Input string
Результат string