Search Results for

    Show / Hide Table of Contents

    Class MaximumAttribute

    Sets a maximum value for this slash command option. Only valid for System.Int32, System.Int64 or System.Double parameters.

    Inheritance
    System.Object
    System.Attribute
    MaximumAttribute
    Namespace: DisCatSharp.ApplicationCommands.Attributes
    Assembly: DisCatSharp.ApplicationCommands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Parameter)]
    public class MaximumAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    MaximumAttribute(Double)

    Sets a maximum value for this slash command option. Only valid for System.Int32, System.Int64 or System.Double parameters.

    Declaration
    public MaximumAttribute(double value)
    Parameters
    Type Name Description
    System.Double value
    | Improve this Doc View Source

    MaximumAttribute(Int32)

    Sets a maximum value for this slash command option. Only valid for System.Int32, System.Int64 or System.Double parameters.

    Declaration
    public MaximumAttribute(int value)
    Parameters
    Type Name Description
    System.Int32 value
    | Improve this Doc View Source

    MaximumAttribute(Int64)

    Sets a maximum value for this slash command option. Only valid for System.Int32, System.Int64 or System.Double parameters.

    Declaration
    public MaximumAttribute(long value)
    Parameters
    Type Name Description
    System.Int64 value

    Properties

    | Improve this Doc View Source

    Value

    The value.

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

    Extension Methods

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