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

Represents an OTX ServiceProvider. More...

Public Member Functions

Dictionary< string, string > GetExternalApps ()
 Gets all externals applications of current OTX mapping More...
 
void RaiseServiceProviderEventSource (string eventName)
 Signals the OTX-Runtime that a event is called and a ServiceProviderEventSource should be raised. More...
 

Properties

string AppId [get]
 Gets the Id of the mapped external application. More...
 
string MappingName [get]
 Gets mapping name. More...
 
string ProviderId [get]
 Gets the Provider Id which is generated in OTX-Runtime. More...
 
string ProviderSignatureName [get]
 Gets full name of Provider. More...
 

Detailed Description

Represents an OTX ServiceProvider.

Member Function Documentation

◆ GetExternalApps()

Dictionary<string, string> OpenTestSystem.Otx.Runtime.Api.Custom.ExternalServiceProviderImplementation.IServiceProvider.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.

◆ RaiseServiceProviderEventSource()

void OpenTestSystem.Otx.Runtime.Api.Custom.ExternalServiceProviderImplementation.IServiceProvider.RaiseServiceProviderEventSource ( string  eventName)

Signals the OTX-Runtime that a event is called and a ServiceProviderEventSource should be raised.

Property Documentation

◆ AppId

string OpenTestSystem.Otx.Runtime.Api.Custom.ExternalServiceProviderImplementation.IServiceProvider.AppId
get

Gets the Id of the mapped external application.

Returns
Application Id.

◆ MappingName

string OpenTestSystem.Otx.Runtime.Api.Custom.ExternalServiceProviderImplementation.IServiceProvider.MappingName
get

Gets mapping name.

If a valid mapping exists for this DeviceService, 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 (".").

Returns
Mapping name.

◆ ProviderId

string OpenTestSystem.Otx.Runtime.Api.Custom.ExternalServiceProviderImplementation.IServiceProvider.ProviderId
get

Gets the Provider Id which is generated in OTX-Runtime.

Returns
Provider Id.

◆ ProviderSignatureName

string OpenTestSystem.Otx.Runtime.Api.Custom.ExternalServiceProviderImplementation.IServiceProvider.ProviderSignatureName
get

Gets full name of Provider.

Returns
Full name of ProviderSignature.

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