Class ConsoleCommandAttribute
An attribute to mark Prompt console commands.
Implements
Inherited Members
Namespace: Dnn.PersonaBar.Library.Prompt.Attributes
Assembly: Dnn.PersonaBar.Library.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
[Obsolete("Deprecated in DotNetNuke 9.7.0. Moved to DotNetNuke.Prompt in the core library project. Scheduled for removal in v11.0.0.")]
public class ConsoleCommandAttribute : Attribute, _Attribute
Constructors
ConsoleCommandAttribute(string, string, string)
Initializes a new instance of the ConsoleCommandAttribute class.
Declaration
public ConsoleCommandAttribute(string name, string category, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The command name. |
| string | category | The command category. |
| string | description | The command description. |
Properties
Category
Declaration
public string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |