Search Results for

    Show / Hide Table of Contents

    Class CommandAttribute

    Marks this method as a command.

    Inheritance
    System.Object
    System.Attribute
    CommandAttribute
    Namespace: DisCatSharp.CommandsNext.Attributes
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    [AttributeUsage(AttributeTargets.Method)]
    public sealed class CommandAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    CommandAttribute()

    Marks this method as a command, using the method's name as command name.

    Declaration
    public CommandAttribute()
    | Improve this Doc View Source

    CommandAttribute(String)

    Marks this method as a command with specified name.

    Declaration
    public CommandAttribute(string name)
    Parameters
    Type Name Description
    System.String name

    Name of this command.

    Properties

    | Improve this Doc View Source

    Name

    Gets the name of this command.

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

    Extension Methods

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