View Source
Interface IViewHelper
Assembly: Umbraco.Core.dll
Syntax
public interface IViewHelper
Methods
View Source
CreateView(ITemplate, Boolean)
Declaration
string CreateView(ITemplate t, bool overWrite = false)
Parameters
| Type |
Name |
Description |
| ITemplate |
t |
|
| System.Boolean |
overWrite |
|
Returns
| Type |
Description |
| System.String |
|
View Source
GetFileContents(ITemplate)
Declaration
string GetFileContents(ITemplate t)
Parameters
Returns
| Type |
Description |
| System.String |
|
View Source
UpdateViewFile(ITemplate, String)
Declaration
string UpdateViewFile(ITemplate t, string currentAlias = null)
Parameters
| Type |
Name |
Description |
| ITemplate |
t |
|
| System.String |
currentAlias |
|
Returns
| Type |
Description |
| System.String |
|
View Source
ViewExists(ITemplate)
Declaration
bool ViewExists(ITemplate t)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
View Source
ViewPath(String)
Declaration
string ViewPath(string alias)
Parameters
| Type |
Name |
Description |
| System.String |
alias |
|
Returns
| Type |
Description |
| System.String |
|