OTX-Runtime for DotNet  
OpenTestSystem.Otx.Runtime.Api.Custom.IContextVariableImplementation Interface Reference

Allows users to implement their own ContextVariables. More...

Inheritance diagram for OpenTestSystem.Otx.Runtime.Api.Custom.IContextVariableImplementation:
Inheritance graph

Public Member Functions

object GetValue (IRuntimeContext runtimeContext, IContextVariable variable, object initMappingValue)
 Invoked each time the OTX runtime reads the value of a ContextVariable from the environment. More...
 

Detailed Description

Allows users to implement their own ContextVariables.

Member Function Documentation

◆ GetValue()

object OpenTestSystem.Otx.Runtime.Api.Custom.IContextVariableImplementation.GetValue ( IRuntimeContext  runtimeContext,
IContextVariable  variable,
object  initMappingValue 
)

Invoked each time the OTX runtime reads the value of a ContextVariable from the environment.

Parameters
runtimeContextThe related runtime context.
variableThe related context variable.
initMappingValueInit value in OTX-Mapping file, see Environment Presets.
Returns
Value of the context variable which will be returned to the OTX-Runtime.

Implemented in OpenTestSystem.Otx.Runtime.Api.Custom.ContextVariableImplementation.


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