Class PortalTemplateIO
Inheritance
PortalTemplateIO
Assembly: DotNetNuke.dll
Syntax
[Obsolete("Deprecated in DotNetNuke 9.11.1. No replacement. Scheduled for removal in v11.0.0.")]
public class PortalTemplateIO : ServiceLocator<IPortalTemplateIO, PortalTemplateIO>, IPortalTemplateIO
Constructors
PortalTemplateIO()
Declaration
public PortalTemplateIO()
Methods
EnumerateLanguageFiles()
Declaration
public IEnumerable<string> EnumerateLanguageFiles()
Returns
EnumerateTemplates()
Declaration
public IEnumerable<string> EnumerateTemplates()
Returns
GetFactory()
Declaration
protected override Func<IPortalTemplateIO> GetFactory()
Returns
Overrides
GetLanguageFilePath(string, string)
Declaration
public string GetLanguageFilePath(string templateFilePath, string cultureCode)
Parameters
Type |
Name |
Description |
string |
templateFilePath |
|
string |
cultureCode |
|
Returns
GetResourceFilePath(string)
Declaration
public string GetResourceFilePath(string templateFilePath)
Parameters
Type |
Name |
Description |
string |
templateFilePath |
|
Returns
GetTemplateLanguages(string)
Declaration
public (string, List<string>) GetTemplateLanguages(string templateFilePath)
Parameters
Type |
Name |
Description |
string |
templateFilePath |
|
Returns
OpenTextReader(string)
Declaration
public TextReader OpenTextReader(string filePath)
Parameters
Type |
Name |
Description |
string |
filePath |
|
Returns
Implements
Extension Methods