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 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |