Photon Fusion
2.0.8
Unit Attribute class. Used to mark a field with the respective Units More...
Inherits DecoratingPropertyAttribute.
Public Member Functions | |
| UnitAttribute (Units units) | |
| Initializes a new instance of the UnitAttribute class with the specified unit. More... | |
Properties | |
| Units | Unit [get] |
| Selected Unit for the field. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from DecoratingPropertyAttribute | |
| const int | DefaultOrder = -10000 |
| The default order of the attribute. More... | |
Protected Member Functions inherited from DecoratingPropertyAttribute | |
| DecoratingPropertyAttribute () | |
| Initializes a new instance with the default order. More... | |
| DecoratingPropertyAttribute (int order) | |
| Initializes a new instance with the specified order. More... | |
Unit Attribute class. Used to mark a field with the respective Units
| UnitAttribute | ( | Units | units | ) |
Initializes a new instance of the UnitAttribute class with the specified unit.
| units |
|
get |
Selected Unit for the field.