Class SettingRangeAttribute
Limits a numerical field or property to a limited range
Inheritance
SettingRangeAttribute
Assembly: WeaverCore.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class SettingRangeAttribute : Attribute, _Attribute
Constructors
|
Edit this page
View Source
SettingRangeAttribute(double, double)
Declaration
public SettingRangeAttribute(double min, double max)
Parameters
|
Edit this page
View Source
SettingRangeAttribute(int, int)
Declaration
public SettingRangeAttribute(int min, int max)
Parameters
Type |
Name |
Description |
int |
min |
|
int |
max |
|
|
Edit this page
View Source
SettingRangeAttribute(float, float)
Declaration
public SettingRangeAttribute(float min, float max)
Parameters
Fields
|
Edit this page
View Source
max
Declaration
public readonly double max
Field Value
|
Edit this page
View Source
min
Declaration
public readonly double min
Field Value
Implements
Extension Methods