dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

PopupExpressionInfo Class

The ExpressionInfo class references Arcade expressions following
the specification defined by the Arcade Popup Profile.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

PopupExpressionInfo() Constructor

Parameterless constructor for use as a Razor Component.

public PopupExpressionInfo();

PopupExpressionInfo(string, 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 PopupExpressionInfo(string? expression=null, string? name=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.PopupExpressionInfoReturnType> returnType=null, string? title=null);

Parameters

expression System.String

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

name System.String

The name of the expression.
ArcGIS Maps SDK for JavaScript

returnType System.Nullable<PopupExpressionInfoReturnType>

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 in the
popup.
ArcGIS Maps SDK for JavaScript

Properties

PopupExpressionInfo.Expression Property

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

public string? Expression { get; set; }

Property Value

System.String

PopupExpressionInfo.Name Property

The name of the expression.
ArcGIS Maps SDK for JavaScript

public string? Name { get; set; }

Property Value

System.String

PopupExpressionInfo.ReturnType Property

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

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

Property Value

System.Nullable<PopupExpressionInfoReturnType>

PopupExpressionInfo.Title Property

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

public string? Title { get; set; }

Property Value

System.String

Methods

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

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

PopupExpressionInfo.GetReturnType() Method

Asynchronously retrieve the current value of the ReturnType property.

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

Returns

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

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

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

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

PopupExpressionInfo.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.PopupExpressionInfoReturnType> value);

Parameters

value System.Nullable<PopupExpressionInfoReturnType>

The value to set.

Returns

System.Threading.Tasks.Task

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