C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeRe.RunTime Class Reference

User-friendly representation of the numeric optimization runtime_seconds field. Wraps a nullable double value. More...

Public Member Functions

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".
 

Static Public Member Functions

static implicit operator double (RunTime d)
 To double value conversion operator.
 
static implicit operator RunTime (double? b)
 From double conversion operator.
 
static implicit operator string (RunTime d)
 To string conversion operator.
 

Properties

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.
 

Detailed Description

User-friendly representation of the numeric optimization runtime_seconds field. Wraps a nullable double value.

Definition at line 9 of file RunTime.cs.

Member Function Documentation

◆ 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.

Property Documentation

◆ 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: