NoaDebuggerNoaDebugger
  • v1.6.0
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.0
  • v1.0.0
Demo
Contact
Buy
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • v1.6.0
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.0
  • v1.0.0
Demo
Contact
Buy
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • CommandInputRangeAttribute

CommandInputRangeAttribute

public CommandInputRangeAttribute(object min, object max)

Parameters

ParameterDescription
minLower limit of input value.
maxUpper limit of input value.

Descriptions

Specifies the input range for numeric type properties.

If the type of the target property could not be casted, the minimum and maximum values of that data type will be set.

If it is specified for a property of another type, it will be ignored and cannot be specified for a method.

The setting status will be displayed in the detail view.

#if NOA_DEBUGGER
using NoaDebugger;

public class DebugCommandSample : DebugCategoryBase
{
    [CommandInputRange(-10, 100)]
    public int ExampleProperty
    {
        get;
        set;
    }
}
#endif