Search Results for

    Show / Hide Table of Contents

    Class CommandArgument

    Represents a command argument.

    Inheritance
    System.Object
    CommandArgument
    Namespace: DisCatSharp.CommandsNext
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public sealed class CommandArgument

    Properties

    | Improve this Doc View Source

    CustomAttributes

    Gets the custom attributes attached to this argument.

    Declaration
    public IReadOnlyCollection<Attribute> CustomAttributes { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyCollection<System.Attribute>
    | Improve this Doc View Source

    DefaultValue

    Gets this argument's default value.

    Declaration
    public object DefaultValue { get; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    Description

    Gets this argument's description.

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

    IsCatchAll

    Gets whether this argument catches all remaining arguments.

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

    IsOptional

    Gets whether this argument is optional.

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

    Name

    Gets this argument's name.

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

    Type

    Gets this argument's type.

    Declaration
    public Type Type { get; }
    Property Value
    Type Description
    System.Type

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems