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

Class FolderMappingsConfigController

Inheritance
System.Object
ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>
FolderMappingsConfigController
Implements
IFolderMappingsConfigController
Inherited Members
ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>.Instance
ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>.Factory
ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>.SetTestableInstance(IFolderMappingsConfigController)
ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>.ClearInstance()
ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>.GetFactory()
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FolderMappingsConfigController : ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>, IFolderMappingsConfigController

Constructors

| Improve this Doc View Source

FolderMappingsConfigController()

Initializes a new instance of the FolderMappingsConfigController class.

Declaration
public FolderMappingsConfigController()

Properties

| Improve this Doc View Source

ConfigNode

Gets root node in folderMappings config file.

Declaration
public string ConfigNode { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FolderTypes

Gets all folder types read from folderMappings config file.

Declaration
public IList<FolderTypeConfig> FolderTypes { get; }
Property Value
Type Description
IList<FolderTypeConfig>

Methods

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<IFolderMappingsConfigController> GetFactory()
Returns
Type Description
Func<IFolderMappingsConfigController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.FileSystem.FolderMappings.IFolderMappingsConfigController, DotNetNuke.Services.FileSystem.FolderMappingsConfigController>.GetFactory()
| Improve this Doc View Source

GetFolderMapping(Int32, String)

Gets the folderMapping configured for a specific folder.

Declaration
public FolderMappingInfo GetFolderMapping(int portalId, string folderPath)
Parameters
Type Name Description
System.Int32 portalId

Portal Id where the folder is.

System.String folderPath

Specific folder path.

Returns
Type Description
FolderMappingInfo

A FolderMappingInfo instance or null.

| Improve this Doc View Source

LoadConfig()

Load data from folderMappings config file.

Declaration
public void LoadConfig()
| Improve this Doc View Source

SaveConfig(String)

Save data in folderMappings config file.

Declaration
public void SaveConfig(string folderMappinsSettings)
Parameters
Type Name Description
System.String folderMappinsSettings

Implements

IFolderMappingsConfigController

Extension Methods

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