The LoginScope is the the scope to interact with LogiKal. The LoginScope can only be received by valid connection to a service (LoginScopeFactoryBase<T>.Login). It is necessary that a service is running. Currently only memory binding is supported. The children are of type ProjectCenter. The children can be received from the CoreObject<T>.Infos.
More...
The LoginScope is the the scope to interact with LogiKal. The LoginScope can only be received by valid connection to a service (LoginScopeFactoryBase<T>.Login). It is necessary that a service is running. Currently only memory binding is supported. The children are of type ProjectCenter. The children can be received from the CoreObject<T>.Infos.
◆ GetAvailableElementTypes()
| IList<ElementType> Ofcas.Lk.Api.Client.Core.LoginScope.GetAvailableElementTypes |
( |
| ) |
|
Returns a list of all available ElementType for the current LoginScope.
- Returns
- List with all available element types
◆ GetInfoResponse()
| override CoreInfoResponse Ofcas.Lk.Api.Client.Core.LoginScope.GetInfoResponse |
( |
| ) |
|
|
protectedvirtual |
◆ GetProgramRuntime()
| ProgramRuntime Ofcas.Lk.Api.Client.Core.LoginScope.GetProgramRuntime |
( |
| ) |
|
◆ GetProjectCenter()
Returns the corresponding project-center based on the given information data. Available project-center type are defined in ProjectType.
- Parameters
-
| projectCenterInfo | The project-center information obtained through the CoreObject<T>.Infos function. |
- Returns
- the ProjectCenter
- Exceptions
-
| Exception | If getting project-center failed. |
◆ GetRecentProjectInfos()
| IList<ProjectInfo> Ofcas.Lk.Api.Client.Core.LoginScope.GetRecentProjectInfos |
( |
| ) |
|
Obtains the ProjectInfo of the recently opened projects.
- Returns
- Returns a list of ProjectInfo objects of the recently opened projects.
◆ GetRunnablePrograms()
◆ GetStandardProjectCenter()
| ProjectCenter Ofcas.Lk.Api.Client.Core.LoginScope.GetStandardProjectCenter |
( |
| ) |
|
Returns the standard project-center. The standard project-center is from type ProjectType.Project.
- Returns
- the ProjectCenter from type ProjectType.Project
- Exceptions
-
| Exception | If getting project-center failed. |
| NotImplementedException | |
◆ GetTranslation()
| string Ofcas.Lk.Api.Client.Core.LoginScope.GetTranslation |
( |
string |
text, |
|
|
int |
firstIndex, |
|
|
int |
secondIndex, |
|
|
params string [] |
parameters |
|
) |
| |
Translates a given text to the language which the API is currently running.
- Parameters
-
| text | The specified text to be translated. |
| firstIndex | The first index used to determine the translation text. |
| secondIndex | The second index used to determine the translation text. |
| parameters | Optional parameters to replace placeholders in the text to be translated. The maximum count is five. |
- Returns
- Returns the translated text.
The documentation for this class was generated from the following file: