Show / Hide Table of Contents

Class FlagParameterAttribute

Attribute to define the help for the flag parameter.

Inheritance
object
Attribute
FlagParameterAttribute
Implements
_Attribute
Inherited Members
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.Equals(object)
Attribute.GetHashCode()
Attribute.Match(object)
Attribute.IsDefaultAttribute()
Attribute.TypeId
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: Dnn.PersonaBar.Library.Prompt.Attributes
Assembly: Dnn.PersonaBar.Library.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
[Obsolete("Deprecated in DotNetNuke 9.7.0. Moved to DotNetNuke.Prompt in the core library project and is now a Property Attribute called CommandParameter. Scheduled for removal in v11.0.0.")]
public class FlagParameterAttribute : Attribute, _Attribute

Constructors

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
string flag

The flag name.

string description

The description.

string type

The expected type.

FlagParameterAttribute(string, string, string, bool)

Initializes a new instance of the FlagParameterAttribute class.

Declaration
public FlagParameterAttribute(string flag, string description, string type, bool required)
Parameters
Type Name Description
string flag

The flag name.

string description

The description.

string type

The expected type.

bool required

Whether the flag is required.

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
string flag

The flag name.

string description

The description.

string type

The expected type.

string defaultValue

The default value.

FlagParameterAttribute(string, string, string, string, bool)

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
string flag

The flag name.

string description

The description.

string type

The expected type.

string defaultValue

The default value.

bool required

Whether the flag is required.

Properties

DefaultValue

Gets or sets default value of the flag.

Declaration
public string DefaultValue { get; set; }
Property Value
Type Description
string

Description

Gets or sets description of flag.

Declaration
public string Description { get; set; }
Property Value
Type Description
string

Flag

Gets or sets name of the flag.

Declaration
public string Flag { get; set; }
Property Value
Type Description
string

Required

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

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

Type

Gets or sets type of the flag value expected.

Declaration
public string Type { get; set; }
Property Value
Type Description
string

Implements

_Attribute

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS