User-friendly representation of the numeric optimization runtime_seconds field. Wraps a nullable double value.
More...
|
bool | Equals (RunTime other) |
| Returns a value indicating whether this instance value is equal to another RunTime object value.
|
|
override string | ToString () |
| ToString() method override. Example: for double value 33.456 the formatted string will be "0h 0m 33.456s".
|
|
|
bool | HasValue [get] |
| Gets a bool value indicating whether the object has a valid double value.
|
|
double | Value [get] |
| Gets the double value of the current RunTime object if the HasValue property is true. An exception is thrown if the HasValue property is false.
|
|
User-friendly representation of the numeric optimization runtime_seconds field. Wraps a nullable double value.
Definition at line 9 of file RunTime.cs.
◆ Equals()
bool AnalyzeRe.RunTime.Equals |
( |
RunTime |
other | ) |
|
Returns a value indicating whether this instance value is equal to another RunTime object value.
◆ operator double()
static implicit AnalyzeRe.RunTime.operator double |
( |
RunTime |
d | ) |
|
|
static |
To double value conversion operator.
◆ operator RunTime()
static implicit AnalyzeRe.RunTime.operator RunTime |
( |
double? |
b | ) |
|
|
static |
From double conversion operator.
◆ operator string()
static implicit AnalyzeRe.RunTime.operator string |
( |
RunTime |
d | ) |
|
|
static |
To string conversion operator.
◆ ToString()
override string AnalyzeRe.RunTime.ToString |
( |
| ) |
|
|
inline |
ToString() method override. Example: for double value 33.456 the formatted string will be "0h 0m 33.456s".
- Returns
- Value as formatted string; empty string for null value.
Definition at line 25 of file RunTime.cs.
◆ HasValue
bool AnalyzeRe.RunTime.HasValue |
|
get |
Gets a bool value indicating whether the object has a valid double value.
Definition at line 56 of file RunTime.cs.
◆ Value
double AnalyzeRe.RunTime.Value |
|
get |
Gets the double value of the current RunTime object if the HasValue property is true. An exception is thrown if the HasValue property is false.
Definition at line 51 of file RunTime.cs.
The documentation for this class was generated from the following file: