dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

SupportExpressionInfo Class

The ExpressionInfo class references an Arcade expression following
the specification defined by the Arcade Visualization Profile.
ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SupportExpressionInfo

Constructors

SupportExpressionInfo() Constructor

Parameterless constructor for use as a Razor Component.

public SupportExpressionInfo();

SupportExpressionInfo(string, Nullable, string) Constructor

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

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

Parameters

expression System.String

An Arcade expression following
the specification defined by the Arcade Visualization Profile.
ArcGIS Maps SDK for JavaScript

returnType System.Nullable<SupportExpressionInfoReturnType>

Indicates the return type of the Arcade 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

Properties

SupportExpressionInfo.Expression Property

An Arcade expression following
the specification defined by the Arcade Visualization Profile.
ArcGIS Maps SDK for JavaScript

public string? Expression { get; set; }

Property Value

System.String

SupportExpressionInfo.ReturnType Property

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

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

Property Value

System.Nullable<SupportExpressionInfoReturnType>

SupportExpressionInfo.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

SupportExpressionInfo.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>

SupportExpressionInfo.GetReturnType() Method

Asynchronously retrieve the current value of the ReturnType property.

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

Returns

System.Threading.Tasks.Task<System.Nullable<SupportExpressionInfoReturnType>>

SupportExpressionInfo.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>

SupportExpressionInfo.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

SupportExpressionInfo.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.SupportExpressionInfoReturnType> value);

Parameters

value System.Nullable<SupportExpressionInfoReturnType>

The value to set.

Returns

System.Threading.Tasks.Task

SupportExpressionInfo.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