Class MaxValueAttribute
- Namespace
- HeyBox.Interactions
- Assembly
- HeyBox.Net.Interactions.dll
设置数字类型参数允许的最大值。
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public sealed class MaxValueAttribute : Attribute
- Inheritance
-
MaxValueAttribute
- Inherited Members
Constructors
MaxValueAttribute(double)
设置数字类型参数允许的最大值。
public MaxValueAttribute(double value)
Parameters
value
double允许的最大值。
Properties
Value
获取允许的最大值。
public double Value { get; }