Show / Hide Table of Contents

Class AddModule

Inheritance
object
ConsoleCommand
AddModule
Implements
IConsoleCommand
Inherited Members
ConsoleCommand.IsValid()
ConsoleCommand.LocalizeString(string)
ConsoleCommand.AddMessage(string)
ConsoleCommand.ParseParameters<T>(T)
ConsoleCommand.CreateMapping()
ConsoleCommand.ValidationMessage
ConsoleCommand.ResultHtml
ConsoleCommand.PortalSettings
ConsoleCommand.User
ConsoleCommand.PortalId
ConsoleCommand.TabId
ConsoleCommand.Args
ConsoleCommand.Flags
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Entities.Modules.Prompt
Assembly: DotNetNuke.dll
Syntax
[ConsoleCommand("add-module", "Prompt_ModulesCategory", "Prompt_AddModule_Description")]
public class AddModule : ConsoleCommand, IConsoleCommand

Constructors

AddModule()

Declaration
public AddModule()

Properties

LocalResourceFile

Declaration
public override string LocalResourceFile { get; }
Property Value
Type Description
string
Overrides
ConsoleCommand.LocalResourceFile

ModuleName

Declaration
[ConsoleCommandParameter("name", "Prompt_AddModule_FlagModuleName", true)]
public string ModuleName { get; set; }
Property Value
Type Description
string

ModuleTitle

Declaration
[ConsoleCommandParameter("title", "Prompt_AddModule_FlagModuleTitle")]
public string ModuleTitle { get; set; }
Property Value
Type Description
string

PageId

Declaration
[ConsoleCommandParameter("pageid", "Prompt_AddModule_FlagPageId", true)]
public int PageId { get; set; }
Property Value
Type Description
int

Pane

Declaration
[ConsoleCommandParameter("pane", "Prompt_AddModule_FlagPane", "ContentPane")]
public string Pane { get; set; }
Property Value
Type Description
string

Methods

Initialize(string[], IPortalSettings, IUserInfo, int)

Declaration
public override void Initialize(string[] args, IPortalSettings portalSettings, IUserInfo userInfo, int activeTabId)
Parameters
Type Name Description
string[] args
IPortalSettings portalSettings
IUserInfo userInfo
int activeTabId
Overrides
ConsoleCommand.Initialize(string[], IPortalSettings, IUserInfo, int)

Run()

Declaration
public override IConsoleResultModel Run()
Returns
Type Description
IConsoleResultModel
Overrides
ConsoleCommand.Run()

Implements

IConsoleCommand

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS