Class ConsoleCommandAttribute
Inheritance
System.Object
ConsoleCommandAttribute
Namespace: DotNetNuke.Prompt
Assembly: DotNetNuke.dll
Syntax
public class ConsoleCommandAttribute : Attribute
Constructors
| Improve this Doc View SourceConsoleCommandAttribute(String, String, String)
Initializes a new instance of the ConsoleCommandAttribute class.
Declaration
public ConsoleCommandAttribute(string name, string categoryKey, string descriptionKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | categoryKey | |
System.String | descriptionKey |
Properties
| Improve this Doc View SourceCategoryKey
Gets or sets resource key for the category of the command.
Declaration
public string CategoryKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DescriptionKey
Gets or sets resource key for the description of the command.
Declaration
public string DescriptionKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets name used in the UI for the command. By convention we encourage you to use "verb-noun" as with Powershell (e.g. "add-module").
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |