OTX-Runtime for DotNet  
OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable Interface Reference

Represents an OTX StateVariable. More...

Public Member Functions

Dictionary< string, string > GetExternalApps ()
 Gets all externals applications of current OTX mapping More...
 

Properties

string AppId [get]
 Gets the Id of the mapped external application. More...
 
string DataType [get]
 Gets DataType. More...
 
IDocument Document [get]
 Gets Document that contains the StateVariable. More...
 
object InitValue [get]
 Gets initial value. More...
 
int MappingIndex [get]
 Gets mapping index. More...
 
string MappingName [get]
 Gets mapping name. More...
 
string Name [get]
 Gets variable name. More...
 
string Specification [get]
 Gets specification More...
 

Detailed Description

Represents an OTX StateVariable.

Member Function Documentation

◆ GetExternalApps()

Dictionary<string, string> OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.GetExternalApps ( )

Gets all externals applications of current OTX mapping

All APPs used in the current mapping are returned as a Dictionary. The key is a String and contains the AppId. The value is a String and contains the path of the application. If available, the names of the initialization and deinitialization methods as well as the names of the parameters and the parameter values are also returned.

{
"AppId1" = "Production.Otx.Screens.dll",
"AppId1.Init" = "InitMethod",
"AppId1.Init.Param1" = "1",
"AppId1.Init.Param2" = "Message",
"AppId1.Deinit" = "DeinitMethod",
"AppId2" = "GalaSoft.MvvmLight.dll",
"AppId3" = "GalaSoft.MvvmLight.Platform.dll",
"AppId4" = "System.Windows.Interactivity.dll",
"AppId5" = "BitFactory.Logging.dll"
}
Returns
A Dictionary String of String.

Property Documentation

◆ AppId

string OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.AppId
get

Gets the Id of the mapped external application.

◆ DataType

string OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.DataType
get

Gets DataType.

◆ Document

IDocument OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.Document
get

Gets Document that contains the StateVariable.

◆ InitValue

object OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.InitValue
get

Gets initial value.

◆ MappingIndex

int OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.MappingIndex
get

Gets mapping index.

If a mapping is related to a list element, the function will return the relate index.

If no mapping a list element, this function will return -1.

◆ MappingName

string OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.MappingName
get

Gets mapping name.

If a valid mapping exists for this Variable, this function will return the related mapping name. The value can be used to make the application independent from different OTX projects which should be use the same system resource.

If no valid mapping exists, this function will return NULL.

The mapping name is the full qualified name of the element inside the external application which is mapped to this Variable. It contains all namespace elements separated by dots (".").

◆ Name

string OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.Name
get

Gets variable name.

◆ Specification

string OpenTestSystem.Otx.Runtime.Api.Otx.IStateVariable.Specification
get

Gets specification


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