Class PortalTemplateIO
Inheritance
System.Object
PortalTemplateIO
Assembly: DotNetNuke.dll
Syntax
public class PortalTemplateIO : ServiceLocator<IPortalTemplateIO, PortalTemplateIO>, IPortalTemplateIO
Methods
|
Improve this Doc
View Source
EnumerateLanguageFiles()
Declaration
public IEnumerable<string> EnumerateLanguageFiles()
Returns
Type |
Description |
IEnumerable<System.String> |
|
|
Improve this Doc
View Source
EnumerateTemplates()
Declaration
public IEnumerable<string> EnumerateTemplates()
Returns
Type |
Description |
IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<IPortalTemplateIO> GetFactory()
Returns
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Portals.Internal.IPortalTemplateIO, DotNetNuke.Entities.Portals.Internal.PortalTemplateIO>.GetFactory()
|
Improve this Doc
View Source
GetLanguageFilePath(String, String)
Declaration
public string GetLanguageFilePath(string templateFilePath, string cultureCode)
Parameters
Type |
Name |
Description |
System.String |
templateFilePath |
|
System.String |
cultureCode |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetResourceFilePath(String)
Declaration
public string GetResourceFilePath(string templateFilePath)
Parameters
Type |
Name |
Description |
System.String |
templateFilePath |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetTemplateLanguages(String)
Declaration
public (string, List<string>) GetTemplateLanguages(string templateFilePath)
Parameters
Type |
Name |
Description |
System.String |
templateFilePath |
|
Returns
Type |
Description |
System.ValueTuple<System.String, List<System.String>> |
|
|
Improve this Doc
View Source
OpenTextReader(String)
Declaration
public TextReader OpenTextReader(string filePath)
Parameters
Type |
Name |
Description |
System.String |
filePath |
|
Returns
Type |
Description |
TextReader |
|
Implements
Extension Methods