OTX-Runtime for DotNet
|
|
Default ContextVariable implementation More...
Public Member Functions | |
object | GetValue (IRuntimeContext runtimeContext, IContextVariable variable, object initMappingValue) |
Invoked when a ContextVariable gets its value in OTX-Runtime. More... | |
void | ResetAllValues () |
Reset all values, which were set by SetValue method. More... | |
void | SetValue (string contextValueName, object value) |
Set the value for a context variable. More... | |
Properties | |
ContextVariableReadHandler | ContextVariableRead [get, set] |
Context variable read event More... | |
Default ContextVariable implementation
|
inline |
Invoked when a ContextVariable gets its value in OTX-Runtime.
runtimeContext | The related runtime context. |
variable | ContextVariable which gets its value. |
initMappingValue | Init value in mapping file. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IContextVariableImplementation.
|
inline |
Reset all values, which were set by SetValue method.
|
inline |
Set the value for a context variable.
contextValueName | A path to Context variable, eg: Package.otxDoc.ContextName. |
value | The value to set for the context variable. |
|
getset |
Context variable read event
The ContextVariableRead event is fired every time the value of the context variable is read.