Ofcas.Lk.Api.Client - Version 3.0  3.0.0.101
Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject > Class Template Referenceabstract
Inheritance diagram for Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >:
Ofcas.Lk.Api.Client.Core.Disposable

Public Member Functions

void Start ()
 Starts the service. This method must be called first to get the LoginScope (Login). More...
 
void Stop ()
 Stops the service. This method must be called before destroying the ServiceProxyBase. This method is also called in the destructor. More...
 
TCoreObject Login (string programMode, Int64 uiHandle)
 Login to the API to get access to projects, elvations etc. . Without login no access to the API is available. Attention: Before a login is possible, the service must be started (Start). More...
 
- Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Disposable
void Dispose ()
 

Protected Member Functions

 ServiceProxyBase (string installationPath, string args="")
 
override void Dispose (bool disposing)
 
TService GetService ()
 
abstract TCoreObject GetLoginScope (TService service, Guid coreObjectId)
 
abstract string GetFullQualifiedServicePath (string installationPath)
 

Additional Inherited Members

- Events inherited from Ofcas.Lk.Api.Client.Core.Disposable
Action< DisposableDisposed
 

Member Function Documentation

◆ Login()

TCoreObject Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.Login ( string  programMode,
Int64  uiHandle 
)

Login to the API to get access to projects, elvations etc. . Without login no access to the API is available. Attention: Before a login is possible, the service must be started (Start).

Parameters
programModeThe program mode provided from Orgadata for the associated partner
uiHandleThe handle from a window of the user application
Returns
The LoginScopeUi to interact with LogiKal
Exceptions
ExceptionIf creating login scope fails.

◆ Start()

void Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.Start ( )

Starts the service. This method must be called first to get the LoginScope (Login).

◆ Stop()

void Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.Stop ( )

Stops the service. This method must be called before destroying the ServiceProxyBase. This method is also called in the destructor.


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