IOT Dash
Public Member Functions | Properties | List of all members
Tests.Adapters.TestEvaluationContext Class Reference
Inheritance diagram for Tests.Adapters.TestEvaluationContext:
Inheritance graph
[legend]
Collaboration diagram for Tests.Adapters.TestEvaluationContext:
Collaboration graph
[legend]

Public Member Functions

 TestEvaluationContext (IDictionary< string, double > topicValues)
 
void SetValue (string topic, double value)
 
double GetValue (string topic)
 
TValue GetValue (string topic)
 
DateTime GetNow ()
 

Properties

DateTime FrozenTime = DateTime.Now [get, set]
 

Member Function Documentation

◆ GetValue()

double Tests.Adapters.TestEvaluationContext.GetValue ( string  topic)
inline

Get last value on given topic .

Parameters
topicThe topic to inspect.
Returns
The value of the topic.

Implements IotDash.Parsing.IInterfaceEvaluationContext.


The documentation for this class was generated from the following file: