Method | Description | |
---|---|---|
Load ( string fileName ) : ITemplate |
Load web-site template from a file
|
|
LoadAsync ( string filename ) : Task |
Load web-site template from a file asynchronously.
|
|
Setup ( ) : void |
Setups the template factory.
|
|
TemplateFactory ( IEnvironment environment, ILanguageManagerProvider languageManagerProvider, string defaultLanguage, bool templatesMemoryCache = false, bool loadTemplatesFromAssembly = false ) : System |
Initializes a new instance of the TemplateFactory class.
|
Method | Description | |
---|---|---|
TryLoadExistingTemplate ( string filePath ) : ITemplate |
public Load ( string fileName ) : ITemplate | ||
fileName | string | Template file name |
return | ITemplate |
public LoadAsync ( string filename ) : Task |
||
filename | string | The filename. |
return | Task |
public TemplateFactory ( IEnvironment environment, ILanguageManagerProvider languageManagerProvider, string defaultLanguage, bool templatesMemoryCache = false, bool loadTemplatesFromAssembly = false ) : System | ||
environment | IEnvironment | The environment. |
languageManagerProvider | ILanguageManagerProvider | The language manager provider. |
defaultLanguage | string | The default language. |
templatesMemoryCache | bool | if set to |
loadTemplatesFromAssembly | bool | if set to |
return | System |