C# 클래스 SuperSimpleViewEngine.Tests.FakeViewEngineHost

상속: IViewEngineHost
파일 보기 프로젝트 열기: grumpydev/SuperSimpleViewEngine 1 사용 예제들

공개 메소드들

메소드 설명
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