Unit Attribute class. Used to mark a field with the respective Units.
More...
Inherits DecoratingPropertyAttribute.
|
| | UnitAttribute (Units units) |
| | Initializes a new instance of the UnitAttribute class with the specified unit.
|
|
| PropertyAttribute (bool applyToCollection=false) |
|
|
Units | Unit [get] |
| | Selected Unit for the field.
|
|
new bool | applyToCollection [get] |
|
|
const int | DefaultOrder = -10000 |
| | The default order of the attribute.
|
|
| DecoratingPropertyAttribute (bool applyToCollection=false) |
| | Initializes a new instance with the default order.
|
|
| DecoratingPropertyAttribute (int order, bool applyToCollection=false) |
| | Initializes a new instance with the specified order.
|
Unit Attribute class. Used to mark a field with the respective Units.
◆ UnitAttribute()
| UnitAttribute |
( |
Units | units | ) |
|
Initializes a new instance of the UnitAttribute class with the specified unit.
- Parameters
-