layout: default title: CodedValueDomain_T_ parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

CodedValueDomain Class

Information about the coded values belonging to the domain. Coded value domains specify a valid set of values for a field. Each valid value is assigned a unique name. For example, in a layer for water mains, water main features may be buried under different types of surfaces as signified by a GroundSurfaceType field: pavement, gravel, sand, or none (for exposed water mains). The coded value domain includes both the actual value that is stored in the database (for example, 1 for pavement) and a more user-friendly description of what that value actually means.
ArcGIS Maps SDK for JavaScript

public class CodedValueDomain<T> : dymaptic.GeoBlazor.Core.Components.Widgets.Domain

Type parameters

T

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Domain 🡒 CodedValueDomain

Properties

CodedValueDomain.CodedValues Property

An array of the coded values in the domain.

public System.Collections.Generic.HashSet<dymaptic.GeoBlazor.Core.Components.Widgets.CodedValue<T>>? CodedValues { get; set; }

Property Value

System.Collections.Generic.HashSet<dymaptic.GeoBlazor.Core.Components.Widgets.CodedValue<T>>

CodedValueDomain.Type Property

The domain type.

public override string Type { get; }

Property Value

System.String

Methods

CodedValueDomain.RegisterChildComponent(MapComponent) Method

Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.

public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The calling, child component to register

Returns

System.Threading.Tasks.Task

Exceptions

InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.

CodedValueDomain.UnregisterChildComponent(MapComponent) Method

Undoes the “Registration” of a child with its parent.

public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);

Parameters

child MapComponent

The child to unregister

Returns

System.Threading.Tasks.Task

Remarks

This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.