Class CommandArgument
Inheritance
System.Object
CommandArgument
Namespace: DSharpPlus.CommandsNext
Assembly: cs.temp.dll.dll
Syntax
public sealed class CommandArgument
Properties
CustomAttributes
Gets the custom attributes attached to this argument.
Declaration
public IReadOnlyCollection<Attribute> CustomAttributes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<Attribute> |
DefaultValue
Gets this argument's default value.
Declaration
public object DefaultValue { get; }
Property Value
Type | Description |
---|---|
System.Object |
Description
Gets this argument's description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
IsCatchAll
Gets whether this argument catches all remaining arguments.
Declaration
public bool IsCatchAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsOptional
Gets whether this argument is optional.
Declaration
public bool IsOptional { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets this argument's name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets this argument's type.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
Type |