• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PortalTemplateIO

Inheritance
System.Object
ServiceLocator<IPortalTemplateIO, PortalTemplateIO>
PortalTemplateIO
Implements
IPortalTemplateIO
Inherited Members
ServiceLocator<IPortalTemplateIO, PortalTemplateIO>.Instance
ServiceLocator<IPortalTemplateIO, PortalTemplateIO>.Factory
ServiceLocator<IPortalTemplateIO, PortalTemplateIO>.SetTestableInstance(IPortalTemplateIO)
ServiceLocator<IPortalTemplateIO, PortalTemplateIO>.ClearInstance()
ServiceLocator<IPortalTemplateIO, PortalTemplateIO>.GetFactory()
Namespace: DotNetNuke.Entities.Portals.Internal
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
Type Description
Func<IPortalTemplateIO>

A factory function.

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

IPortalTemplateIO

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS