Table of Contents

Class MinValueAttribute

Namespace
HeyBox.Interactions
Assembly
HeyBox.Net.Interactions.dll

设置数字类型参数允许的最小值。

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public sealed class MinValueAttribute : Attribute
Inheritance
MinValueAttribute
Inherited Members

Constructors

MinValueAttribute(double)

设置数字类型参数允许的最小值。

public MinValueAttribute(double value)

Parameters

value double

允许的最小值。

Properties

Value

获取允许的最小值。

public double Value { get; }

Property Value

double