KneeSurgery
Loading...
Searching...
No Matches
KneeSurgery.Interfaces.IExecutionService Interface Reference

Service for executing scripts within the KneeSurgery application. Provides functionality to execute scripts and return the operation result. More...

Public Member Functions

Task<(bool, string)> ExecuteAsync (string script)
 Executes a specified script asynchronously.

Detailed Description

Service for executing scripts within the KneeSurgery application. Provides functionality to execute scripts and return the operation result.

Member Function Documentation

◆ ExecuteAsync()

Task<(bool, string)> KneeSurgery.Interfaces.IExecutionService.ExecuteAsync ( string script)

Executes a specified script asynchronously.

Parameters
scriptThe script to execute.
Returns
A tuple containing:
  • bool: true if execution succeeded, false otherwise
  • string: result message or error message

The documentation for this interface was generated from the following file:
  • src/KneeSurgery/Interfaces/IExecutionService.cs