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

Class ConsoleCommandParameterAttribute

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

Constructors

| Improve this Doc View Source

ConsoleCommandParameterAttribute(String, String, Boolean, String)

Initializes a new instance of the ConsoleCommandParameterAttribute class.

Declaration
public ConsoleCommandParameterAttribute(string name, string descriptionKey, bool required, string defaultValue)
Parameters
Type Name Description
System.String name
System.String descriptionKey
System.Boolean required
System.String defaultValue
| Improve this Doc View Source

ConsoleCommandParameterAttribute(String, String, Boolean)

Initializes a new instance of the ConsoleCommandParameterAttribute class.

Declaration
public ConsoleCommandParameterAttribute(string name, string descriptionKey, bool required)
Parameters
Type Name Description
System.String name
System.String descriptionKey
System.Boolean required
| Improve this Doc View Source

ConsoleCommandParameterAttribute(String, String, String)

Initializes a new instance of the ConsoleCommandParameterAttribute class.

Declaration
public ConsoleCommandParameterAttribute(string name, string descriptionKey, string defaultValue)
Parameters
Type Name Description
System.String name
System.String descriptionKey
System.String defaultValue
| Improve this Doc View Source

ConsoleCommandParameterAttribute(String, String)

Initializes a new instance of the ConsoleCommandParameterAttribute class.

Declaration
public ConsoleCommandParameterAttribute(string name, string descriptionKey)
Parameters
Type Name Description
System.String name
System.String descriptionKey

Properties

| Improve this Doc View Source

DefaultValue

Gets or sets the default value serialized as string.

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

DescriptionKey

Gets or sets the resource key for the description of this parameter.

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

Name

Gets or sets the name used in commands to access this parameter.

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

Required

Gets or sets a value indicating whether whether the parameter is required.

Declaration
public bool Required { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

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