Свойство | Тип | Описание | |
---|---|---|---|
App | System.App |
Метод | Описание | |
---|---|---|
CreateTemplateFileIfNotExists ( string name, string type, string location, |
Creates a template file if it does not already exists, and uses a default text to insert. Returns the new path
|
|
EnsureTemplateFolderExists ( string templateLocation ) : void |
Creates a directory and copies the needed web.config for razor files if the directory does not exist.
|
|
GetTemplateFiles ( |
Returns all template files in the template folder.
|
|
GetTemplatePathRoot ( string locationId, System.App app ) : string |
Returns the location where Templates are stored for the current app
|
|
TemplateManager ( System.App app ) : System |
public CreateTemplateFileIfNotExists ( string name, string type, string location, |
||
name | string | |
type | string | |
location | string | |
server | ||
contents | string | |
Результат | string |
public EnsureTemplateFolderExists ( string templateLocation ) : void | ||
templateLocation | string | |
Результат | void |
public GetTemplateFiles ( |
||
server | ||
templateType | string | |
templateLocation | string | |
Результат | IEnumerable |
public static GetTemplatePathRoot ( string locationId, System.App app ) : string | ||
locationId | string | |
app | System.App | |
Результат | string |
public TemplateManager ( System.App app ) : System | ||
app | System.App | |
Результат | System |