Class MinMaxValueAttribute
- Namespace
- DSharpPlus.Commands.ArgumentModifiers
- Assembly
- DSharpPlus.Commands.dll
Determines the minimum and maximum values that a parameter can accept.
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class MinMaxValueAttribute : ParameterCheckAttribute
- Inheritance
-
objectAttributeMinMaxValueAttribute
Constructors
- MinMaxValueAttribute(object?, object?)
Determines the minimum and maximum values that a parameter can accept.
Properties
- MaxValue
The maximum value that this parameter can accept.
- MinValue
The minimum value that this parameter can accept.