OpenTAP 9.25
API Reference
|
Attribute for giving directives to the TimeSpanControl provider, that shows the control provider in the GUI. More...
Inherits Attribute.
Public Member Functions | |
TimeSpanFormatAttribute (bool allowNone=false, bool allowNegative=false, FormatVerbosities verbosity=FormatVerbosities.Normal) | |
Time span format attribute. More... | |
Properties | |
bool | AllowNone [get] |
Gets or sets a value indicating whether 'None' is allowed as a textual representation of TimeSpan.Zero. More... | |
bool | AllowNegative [get] |
Gets or sets a value indicating whether we a negative timespan is allowed. If set to false, any negative input will automatically be turned into a positive TimeSpan. More... | |
FormatVerbosities | Verbosity [get] |
Sets the preferred verbosity for formatting the TimeSpan value. | |
Attribute for giving directives to the TimeSpanControl provider, that shows the control provider in the GUI.
|
inline |
Time span format attribute.
allowNone | |
allowNegative | |
verbosity |
|
get |
Gets or sets a value indicating whether we a negative timespan is allowed. If set to false, any negative input will automatically be turned into a positive TimeSpan.
true if negative values are allowed, false if not.
|
get |
Gets or sets a value indicating whether 'None' is allowed as a textual representation of TimeSpan.Zero.
true if 'None' is allowed, false if not.
OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24