Show / Hide Table of Contents

Interface IConsoleCommand

A Prompt console command.

Namespace: Dnn.PersonaBar.Library.Prompt
Assembly: Dnn.PersonaBar.Library.dll
Syntax
[Obsolete("Deprecated in DotNetNuke 9.7.0. Moved to DotNetNuke.Abstractions.Prompt in the core abstractions project. Scheduled for removal in v11.0.0.")]
public interface IConsoleCommand

Properties

LocalResourceFile

Declaration
string LocalResourceFile { get; }
Property Value
Type Description
string

ResultHtml

Declaration
string ResultHtml { get; }
Property Value
Type Description
string

ValidationMessage

Declaration
string ValidationMessage { get; }
Property Value
Type Description
string

Methods

Initialize(string[], PortalSettings, UserInfo, int)

Declaration
void Initialize(string[] args, PortalSettings portalSettings, UserInfo userInfo, int activeTabId)
Parameters
Type Name Description
string[] args
PortalSettings portalSettings
UserInfo userInfo
int activeTabId

IsValid()

Declaration
bool IsValid()
Returns
Type Description
bool

Run()

Declaration
ConsoleResultModel Run()
Returns
Type Description
ConsoleResultModel

Extension Methods

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