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
|
public ExpandPath ( string path ) : string | ||
path | string | Path to expand |
Résultat | string |
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 |
public GetUriString ( string name ) : string | ||
name | string | Named route name |
Résultat | string |
public HtmlEncode ( string input ) : string | ||
input | string | Input string |
Résultat | string |