Helper class that executes components.
More...
|
static async Task< object > | ExecuteOneAsync (string correlationId, object component, Parameters args) |
| Executes specific component. To be executed components must implement IExecutable interface. If they don't the call to this method has no effect. More...
|
|
static async Task< List< object > > | ExecuteAsync (string correlationId, IEnumerable components, Parameters args) |
| Executes multiple components. To be executed components must implement IExecutable interface. If they don't the call to this method has no effect. More...
|
|
Helper class that executes components.
See IExecutable
◆ ExecuteAsync()
static async Task<List<object> > PipServices3.Commons.Run.Executor.ExecuteAsync |
( |
string |
correlationId, |
|
|
IEnumerable |
components, |
|
|
Parameters |
args |
|
) |
| |
|
static |
Executes multiple components. To be executed components must implement IExecutable interface. If they don't the call to this method has no effect.
- Parameters
-
correlationId | (optional) transaction id to trace execution through call chain. |
component | a component to be executed |
args | execution arguments. |
- Returns
- execution results
See ExecuteOneAsync(string, object, Parameters)
◆ ExecuteOneAsync()
static async Task<object> PipServices3.Commons.Run.Executor.ExecuteOneAsync |
( |
string |
correlationId, |
|
|
object |
component, |
|
|
Parameters |
args |
|
) |
| |
|
static |
Executes specific component. To be executed components must implement IExecutable interface. If they don't the call to this method has no effect.
- Parameters
-
correlationId | (optional) transaction id to trace execution through call chain. |
component | a component to be executed |
args | execution arguments. |
- Returns
- execution results
See IExecutable, Parameters
The documentation for this class was generated from the following file: