Class TestableModuleController
Inheritance
System.Object
TestableModuleController
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Modules.Internal
Assembly: DotNetNuke.dll
Syntax
public class TestableModuleController : ServiceLocator<IModuleController, TestableModuleController>, IModuleController
Methods
| Improve this Doc View SourceGetFactory()
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. |
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.
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.