dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

Field Class

Information about each field in a layer.
ArcGIS Maps SDK for JavaScript

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

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

Constructors

Field() Constructor

Parameterless constructor for use as a Razor Component.

public Field();

Field(Nullable, string, string, string, Nullable, Nullable, Nullable, object, Nullable, Domain) Constructor

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

public Field(System.Nullable<dymaptic.GeoBlazor.Core.Enums.FieldType> type, string? name=null, string? alias=null, string? description=null, System.Nullable<int> length=null, System.Nullable<bool> editable=null, System.Nullable<bool> nullable=null, object? defaultValue=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.FieldValueType> valueType=null, dymaptic.GeoBlazor.Core.Components.Domain? domain=null);

Parameters

type System.Nullable<FieldType>

The data type of the field.
default null
ArcGIS Maps SDK for JavaScript

name System.String

The name of the field.
default null
ArcGIS Maps SDK for JavaScript

alias System.String

The display name for the field.
default null
ArcGIS Maps SDK for JavaScript

description System.String

Contains information describing the purpose of each field.
ArcGIS Maps SDK for JavaScript

length System.Nullable<System.Int32>

The field length.
default undefined
ArcGIS Maps SDK for JavaScript

editable System.Nullable<System.Boolean>

Indicates whether the field is editable.
default true
ArcGIS Maps SDK for JavaScript

nullable System.Nullable<System.Boolean>

Indicates if the field can accept null values.
default true
ArcGIS Maps SDK for JavaScript

defaultValue System.Object

The default value set for the field.
default undefined
ArcGIS Maps SDK for JavaScript

valueType System.Nullable<FieldValueType>

The types of values that can be assigned to a field.
ArcGIS Maps SDK for JavaScript

domain Domain

The domain associated with the field.
default null
ArcGIS Maps SDK for JavaScript

Properties

Field.Alias Property

The display name for the field.

public string? Alias { get; set; }

Property Value

System.String

Field.DefaultValue Property

The default value set for the field.
default undefined
ArcGIS Maps SDK for JavaScript

public object? DefaultValue { get; set; }

Property Value

System.Object

Field.Description Property

Contains information describing the purpose of each field.

public string? Description { get; set; }

Property Value

System.String

Field.Domain Property

The domain associated with the field.
default null
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Domain? Domain { get; set; }

Property Value

Domain

Field.Editable Property

Indicates whether the field is editable.

public System.Nullable<bool> Editable { get; set; }

Property Value

System.Nullable<System.Boolean>

Field.Length Property

The field length.

public System.Nullable<int> Length { get; set; }

Property Value

System.Nullable<System.Int32>

Field.Name Property

The name of the field.

public string? Name { get; set; }

Property Value

System.String

Field.Nullable Property

Indicates if the field can accept null values.

public System.Nullable<bool> Nullable { get; set; }

Property Value

System.Nullable<System.Boolean>

Field.Type Property

The data type of the field.

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.FieldType> Type { get; set; }

Property Value

System.Nullable<FieldType>

Field.ValueType Property

The types of values that can be assigned to a field.

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.FieldValueType> ValueType { get; set; }

Property Value

System.Nullable<FieldValueType>

Methods

Field.GetAlias() Method

Asynchronously retrieve the current value of the Alias property.

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

Returns

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

Field.GetDefaultValue() Method

Asynchronously retrieve the current value of the DefaultValue property.

public System.Threading.Tasks.Task<object?> GetDefaultValue();

Returns

System.Threading.Tasks.Task<System.Object>

Field.GetDescription() Method

Asynchronously retrieve the current value of the Description property.

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

Returns

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

Field.GetDomain() Method

Asynchronously retrieve the current value of the Domain property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain?> GetDomain();

Returns

System.Threading.Tasks.Task<Domain>

Field.GetEditable() Method

Asynchronously retrieve the current value of the Editable property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetEditable();

Returns

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

Field.GetLength() Method

Asynchronously retrieve the current value of the Length property.

public System.Threading.Tasks.Task<System.Nullable<int>> GetLength();

Returns

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

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

Field.GetNullable() Method

Asynchronously retrieve the current value of the Nullable property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetNullable();

Returns

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

Field.GetValueType() Method

Asynchronously retrieve the current value of the ValueType property.

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

Returns

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

Field.SetAlias(string) Method

Asynchronously set the value of the Alias property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

Field.SetDefaultValue(object) Method

Asynchronously set the value of the DefaultValue property after render.

public System.Threading.Tasks.Task SetDefaultValue(object? value);

Parameters

value System.Object

The value to set.

Returns

System.Threading.Tasks.Task

Field.SetDescription(string) Method

Asynchronously set the value of the Description property after render.

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

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

Field.SetDomain(Domain) Method

Asynchronously set the value of the Domain property after render.

public System.Threading.Tasks.Task SetDomain(dymaptic.GeoBlazor.Core.Components.Domain? value);

Parameters

value Domain

The value to set.

Returns

System.Threading.Tasks.Task

Field.SetEditable(Nullable) Method

Asynchronously set the value of the Editable property after render.

public System.Threading.Tasks.Task SetEditable(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

Field.SetLength(Nullable) Method

Asynchronously set the value of the Length property after render.

public System.Threading.Tasks.Task SetLength(System.Nullable<int> value);

Parameters

value System.Nullable<System.Int32>

The value to set.

Returns

System.Threading.Tasks.Task

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

Field.SetNullable(Nullable) Method

Asynchronously set the value of the Nullable property after render.

public System.Threading.Tasks.Task SetNullable(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

Field.SetValueType(Nullable) Method

Asynchronously set the value of the ValueType property after render.

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

Parameters

value System.Nullable<FieldValueType>

The value to set.

Returns

System.Threading.Tasks.Task

Field.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()