Method CreateAsync
CreateAsync(ArcadeExpression, ArcadeProfile)
Creates a new instance of the ArcadeEvaluator class with the specified Arcade expression and execution context.
Declaration
public static async Task<ArcadeEvaluator> CreateAsync(ArcadeExpression expression, ArcadeProfile profile)
Parameters
| Type | Name | Description |
|---|---|---|
| ArcadeExpression | expression | The Arcade expression to be evaluated. |
| ArcadeProfile | profile | The Arcade profile under which the |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ArcadeEvaluator> | A task object representing the asynchronous create operation. The result of the task is a loaded ArcadeEvaluator object. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.14 - 100.15 |
| .NET 6.0 | 100.14 - 100.15 |
| .NET 6.0 Windows | 100.14 - 100.15 |
| .NET Framework | 100.14 - 100.15 |
| Xamarin.Android | 100.14 - 100.15 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.14 - 100.15 |