Table of Contents

Class MinimumValueAttribute

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

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

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

Constructors

MinimumValueAttribute(double)

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

MinimumValueAttribute(int)

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

MinimumValueAttribute(long)

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

Properties

Value

The value.