Class RangedIntAttribute
Inheritance
PropertyAttribute
RangedIntAttribute
Inherited Members
PropertyAttribute.order
PropertyAttribute.applyToCollection
Assembly: Glitch9.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class RangedIntAttribute : PropertyAttribute
Constructors
|
Edit this page
View Source
RangedIntAttribute(int, int, int, bool)
Declaration
public RangedIntAttribute(int min, int max, int defaultValue = 0, bool nullable = false)
Parameters
| Type |
Name |
Description |
| int |
min |
|
| int |
max |
|
| int |
defaultValue |
|
| bool |
nullable |
|
Fields
|
Edit this page
View Source
defaultValue
Declaration
public readonly int defaultValue
Field Value
|
Edit this page
View Source
max
Declaration
Field Value
|
Edit this page
View Source
min
Declaration
Field Value
|
Edit this page
View Source
nullable
Declaration
public readonly bool nullable
Field Value
Extension Methods