LengthOrAuto Class
LengthOrAuto class
Represents a container for storage length or ‘auto’ units..
public class LengthOrAuto : Unit
Constructors
| Name | Description |
|---|
| LengthOrAuto() | Initializes a new instance of the LengthOrAuto class and sets state to ‘auto’. |
| LengthOrAuto(Length) | Initializes a new instance of the LengthOrAuto class and sets state to ’lenght’. |
Properties
| Name | Description |
|---|
| getIsAuto Gets a value indicating whether this instance is in ‘auto’. | |
| [getLength] | |
| [setLength] Gets or sets the length. | |
getUnitType Gets the unit type of the Unit. | |
Methods
| Name | Description |
|---|
| equals(object) | Determines whether the specified Object, is equal to this instance. |
| equals(Unit) | Determines whether the specified Unit, is equal to this instance. |
| getHashCode() | Returns a hash code for this instance. |
| setAuto() | Resets container to state ‘auto’. |
| toString() | Returns a String that represents this instance. |
| implicit operator | |
See Also