Constructor ArcadeExpression
ArcadeExpression(String)
Initializes a new instance of the ArcadeExpression class with an expression script.
Declaration
public ArcadeExpression(string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | The expression to be evaluated. If set to an empty expression string then the evaluation will return null. |
Remarks
The Title and Name will default to empty strings. The ReturnType will default to Automatic.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |
ArcadeExpression(String, String, String)
Initializes a new instance of the ArcadeExpression class.
Declaration
public ArcadeExpression(string expression, string title, string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | The expression to be evaluated. If set to an empty expression string then the evaluation will return |
System.String | title | The title of the expression. |
System.String | name | The name of the expression. |
Remarks
The ReturnType will default to Automatic.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |
ArcadeExpression(String, String, String, ArcadeExpressionReturnType)
Initializes a new instance of the ArcadeExpression class.
Declaration
public ArcadeExpression(string expression, string title, string name, ArcadeExpressionReturnType returnType)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | The Arcade expression to be evaluated. If set to an empty expression string then the evaluation
will return zero, |
System.String | title | The title of the expression. |
System.String | name | The name of the expression. |
ArcadeExpressionReturnType | returnType | The type to cast the evaluated value to. If the Arcade expression evaluates to a result which differs from ArcadeExpressionReturnType then the result will be cast to the expected return type. If the cast cannot be carried out, the result will be a type-specific error value. See ArcadeExpressionReturnType for details. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |