GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

ExpressionInfo Class

The ExpressionInfo class defines the makeup of visibility expressions, required expressions, editable expressions, and value expressions.
ArcGIS Maps SDK for JavaScript

public class ExpressionInfo : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 ExpressionInfo

Constructors

ExpressionInfo() Constructor

Parameterless constructor for use as a Razor Component.

public ExpressionInfo();

ExpressionInfo(string, string, string, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public ExpressionInfo(string? expression=null, string? name=null, string? title=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType> returnType=null);

Parameters

expression System.String

An Arcade expression following the specification
defined by the Form Constraint or Form Calculation profiles.
ArcGIS Maps SDK for JavaScript

name System.String

The name of the expression.
ArcGIS Maps SDK for JavaScript

title System.String

The title used to describe the value returned by the expression.
ArcGIS Maps SDK for JavaScript

returnType System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType>

Indicates the return type of the Arcade expression.
ArcGIS Maps SDK for JavaScript

Properties

ExpressionInfo.Expression Property

An Arcade expression following the specification
defined by the Form Constraint or Form Calculation profiles.
ArcGIS Maps SDK for JavaScript

public string? Expression { get; set; }

Property Value

System.String

ExpressionInfo.Name Property

The name of the expression.
ArcGIS Maps SDK for JavaScript

public string? Name { get; set; }

Property Value

System.String

ExpressionInfo.ReturnType Property

Indicates the return type of the Arcade expression.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType> ReturnType { get; set; }

Property Value

System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType>

ExpressionInfo.Title Property

The title used to describe the value returned by the expression.
ArcGIS Maps SDK for JavaScript

public string? Title { get; set; }

Property Value

System.String

Methods

ExpressionInfo.GetExpression() Method

Asynchronously retrieve the current value of the Expression property.

public System.Threading.Tasks.Task<string?> GetExpression();

Returns

System.Threading.Tasks.Task<System.String>

ExpressionInfo.GetName() Method

Asynchronously retrieve the current value of the Name property.

public System.Threading.Tasks.Task<string?> GetName();

Returns

System.Threading.Tasks.Task<System.String>

ExpressionInfo.GetReturnType() Method

Asynchronously retrieve the current value of the ReturnType property.

public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType>> GetReturnType();

Returns

System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType>>

ExpressionInfo.GetTitle() Method

Asynchronously retrieve the current value of the Title property.

public System.Threading.Tasks.Task<string?> GetTitle();

Returns

System.Threading.Tasks.Task<System.String>

ExpressionInfo.SetExpression(string) Method

Asynchronously set the value of the Expression property after render.

public System.Threading.Tasks.Task SetExpression(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

ExpressionInfo.SetName(string) Method

Asynchronously set the value of the Name property after render.

public System.Threading.Tasks.Task SetName(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

ExpressionInfo.SetReturnType(Nullable) Method

Asynchronously set the value of the ReturnType property after render.

public System.Threading.Tasks.Task SetReturnType(System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType> value);

Parameters

value System.Nullable<dymaptic.GeoBlazor.Core.Enums.ExpressionInfoReturnType>

The value to set.

Returns

System.Threading.Tasks.Task

ExpressionInfo.SetTitle(string) Method

Asynchronously set the value of the Title property after render.

public System.Threading.Tasks.Task SetTitle(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task