C# Class SuperSimpleViewEngine.Tests.FakeViewEngineHost

Inheritance: IViewEngineHost
Afficher le fichier Open project: grumpydev/SuperSimpleViewEngine Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

AntiForgeryToken() public méthode

public AntiForgeryToken ( ) : string
Résultat string

ExpandPath() public méthode

Expands a path to include any base paths
public ExpandPath ( string path ) : string
path string Path to expand
Résultat string

FakeViewEngineHost() public méthode

public FakeViewEngineHost ( ) : System
Résultat System

GetTemplate() public méthode

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
Résultat string

GetUriString() public méthode

Gets a uri string for a named route
public GetUriString ( string name ) : string
name string Named route name
Résultat string

HtmlEncode() public méthode

Html "safe" encode a string
public HtmlEncode ( string input ) : string
input string Input string
Résultat string