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
  • CommandCharacterLimitAttribute

CommandCharacterLimitAttribute

public CommandCharacterLimitAttribute(int limit)

Parameters

ParameterDescription
limitMaximum number of input characters.

Descriptions

Specifies the maximum number of input characters for a string property.

If a number less than or equal to 0 is set, the maximum number of characters is processed as unlimited.

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
{
    [CommandCharacterLimit(20)]
    public string ExampleProperty
    {
        get;
        set;
    }
}
#endif