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

Class TestableModuleController

Inheritance
System.Object
ServiceLocator<IModuleController, TestableModuleController>
TestableModuleController
Implements
IModuleController
Inherited Members
ServiceLocator<IModuleController, TestableModuleController>.Instance
ServiceLocator<IModuleController, TestableModuleController>.Factory
ServiceLocator<IModuleController, TestableModuleController>.SetTestableInstance(IModuleController)
ServiceLocator<IModuleController, TestableModuleController>.ClearInstance()
ServiceLocator<IModuleController, TestableModuleController>.GetFactory()
Namespace: DotNetNuke.Entities.Modules.Internal
Assembly: DotNetNuke.dll
Syntax
public class TestableModuleController : ServiceLocator<IModuleController, TestableModuleController>, IModuleController

Methods

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

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

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Modules.Internal.IModuleController, DotNetNuke.Entities.Modules.Internal.TestableModuleController>.GetFactory()
| Improve this Doc View Source

GetModule(Int32, Int32)

Gets the module.

Declaration
public ModuleInfo GetModule(int moduleId, int tabId)
Parameters
Type Name Description
System.Int32 moduleId

The module ID.

System.Int32 tabId

The tab ID.

Returns
Type Description
ModuleInfo

module info.

| Improve this Doc View Source

UpdateModuleSetting(Int32, String, String)

Adds or updates a module's setting value.

Declaration
public void UpdateModuleSetting(int moduleId, string settingName, string settingValue)
Parameters
Type Name Description
System.Int32 moduleId

ID of the tabmodule, the setting belongs to.

System.String settingName

name of the setting property.

System.String settingValue

value of the setting (String).

Remarks

Empty SettingValue will remove the setting.

| Improve this Doc View Source

UpdateTabModuleSetting(Int32, String, String)

Adds or updates a tab module's setting value.

Declaration
public void UpdateTabModuleSetting(int tabModuleId, string settingName, string settingValue)
Parameters
Type Name Description
System.Int32 tabModuleId

ID of the tabmodule, the setting belongs to.

System.String settingName

name of the setting property.

System.String settingValue

value of the setting (String).

Remarks

Empty SettingValue will remove the setting.

Implements

IModuleController

Extension Methods

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