Search Results for

    Show / Hide Table of Contents

    Class PriorityAttribute

    Defines this command overload's priority. This determines the order in which overloads will be attempted to be called. Commands will be attempted in order of priority, in descending order.

    Inheritance
    System.Object
    System.Attribute
    PriorityAttribute
    Namespace: DisCatSharp.CommandsNext.Attributes
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    [AttributeUsage(AttributeTargets.Method, Inherited = false)]
    public sealed class PriorityAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    PriorityAttribute(Int32)

    Defines this command overload's priority. This determines the order in which overloads will be attempted to be called. Commands will be attempted in order of priority, in descending order.

    Declaration
    public PriorityAttribute(int priority)
    Parameters
    Type Name Description
    System.Int32 priority

    Priority of this command overload.

    Properties

    | Improve this Doc View Source

    Priority

    Gets the priority of this command overload.

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

    Extension Methods

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