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

Class FlagParameterAttribute

Attribute to define the help for the flag parameter.

Inheritance
System.Object
FlagParameterAttribute
Namespace: Dnn.PersonaBar.Library.Prompt.Attributes
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class FlagParameterAttribute : Attribute

Constructors

| Improve this Doc View Source

FlagParameterAttribute(String, String, String, Boolean)

Initializes a new instance of the FlagParameterAttribute class.

Declaration
public FlagParameterAttribute(string flag, string description, string type, bool required)
Parameters
Type Name Description
System.String flag
System.String description
System.String type
System.Boolean required
| Improve this Doc View Source

FlagParameterAttribute(String, String, String, String, Boolean)

Initializes a new instance of the FlagParameterAttribute class.

Declaration
public FlagParameterAttribute(string flag, string description, string type, string defaultValue, bool required)
Parameters
Type Name Description
System.String flag
System.String description
System.String type
System.String defaultValue
System.Boolean required
| Improve this Doc View Source

FlagParameterAttribute(String, String, String, String)

Initializes a new instance of the FlagParameterAttribute class.

Declaration
public FlagParameterAttribute(string flag, string description, string type, string defaultValue)
Parameters
Type Name Description
System.String flag
System.String description
System.String type
System.String defaultValue
| Improve this Doc View Source

FlagParameterAttribute(String, String, String)

Initializes a new instance of the FlagParameterAttribute class.

Declaration
public FlagParameterAttribute(string flag, string description, string type)
Parameters
Type Name Description
System.String flag
System.String description
System.String type

Properties

| Improve this Doc View Source

DefaultValue

Gets or sets default value of the flag.

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

Description

Gets or sets description of flag.

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

Flag

Gets or sets name of the flag.

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

Required

Gets or sets a value indicating whether is flag required or not.

Declaration
public bool Required { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Type

Gets or sets type of the flag value expected.

Declaration
public string Type { 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