Class NegativeIntegerAttribute
Specifies that an argument, in a method or function,
must be an integer less than zero.
Namespace: Mars.Common.Compat
Assembly: Mars.Common.dll
Syntax
public sealed class NegativeIntegerAttribute : IntegerAttribute
Constructors
NegativeIntegerAttribute(Int32, Int32)
Initializes a new instance of the NegativeIntegerAttribute class.
Declaration
public NegativeIntegerAttribute(int minimum = null, int maximum = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | minimum | |
System.Int32 | maximum |