Class MinMaxRangeAttribute
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Use this attribute to specify the range for a MinMaxFloat field, property, parameter or return value.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter|AttributeTargets.ReturnValue)]
[Version(4, 2, 0)]
public class MinMaxRangeAttribute : Attribute
- Inheritance
-
MinMaxRangeAttribute
- Inherited Members
- Extension Methods
Constructors
- MinMaxRangeAttribute(int, int)
Initializes a new instance with the specified integer range.
- MinMaxRangeAttribute(float, float)
Initializes a new instance with the specified float range.
Methods
- GetRange()
Returns the minimum and maximum values of this range.