• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ConsoleCommandAttribute

Inheritance
System.Object
ConsoleCommandAttribute
Namespace: DotNetNuke.Prompt
Assembly: DotNetNuke.dll
Syntax
public class ConsoleCommandAttribute : Attribute

Constructors

| Improve this Doc View Source

ConsoleCommandAttribute(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 Source

CategoryKey

Gets or sets resource key for the category of the command.

Declaration
public string CategoryKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DescriptionKey

Gets or sets resource key for the description of the command.

Declaration
public string DescriptionKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS