Table of Contents

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
MinMaxValueAttribute

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.