Table of Contents

Class MaximumValueAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

[AttributeUsage(AttributeTargets.Parameter)]
public class MaximumValueAttribute : Attribute
Inheritance
MaximumValueAttribute
Inherited Members

Constructors

MaximumValueAttribute(double)

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

MaximumValueAttribute(int)

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

MaximumValueAttribute(long)

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

Properties

Value

The value.