Class Unit
Constants used for properties of type Unit.
public class Unit : ConstantClass
- Inheritance
-
Unit
Constructors
Unit(string)
This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.
public Unit(string value)
Parameters
value
string
Fields
DAYS
Constant DAYS for Unit
public static readonly Unit DAYS
Field Value
Methods
FindValue(string)
Finds the constant for the unique value.
public static Unit FindValue(string value)
Parameters
value
stringThe unique value for the constant
Returns
- Unit
The constant for the unique value
Operators
implicit operator Unit(string)
Utility method to convert strings to the constant class.
public static implicit operator Unit(string value)
Parameters
value
stringThe string value to convert to the constant class.