layout: default title: SuggestionResult parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

SuggestionResult Class

Describes the object representing the result of the Locator.SuggestLocations() method.

public class SuggestionResult :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.SuggestionResult>

Inheritance System.Object 🡒 SuggestionResult

Implements System.IEquatable<SuggestionResult>

Constructors

SuggestionResult(bool, string, string) Constructor

Describes the object representing the result of the Locator.SuggestLocations() method.

public SuggestionResult(bool IsCollection, string MagicKey, string Text);

Parameters

IsCollection System.Boolean

Indicates if the result is a Collection.

MagicKey System.String

ID used in combination with the text property to uniquely identify a suggestion.

Text System.String

The string name of the suggested location to geocode.

Properties

SuggestionResult.IsCollection Property

Indicates if the result is a Collection.

public bool IsCollection { get; set; }

Property Value

System.Boolean

SuggestionResult.MagicKey Property

ID used in combination with the text property to uniquely identify a suggestion.

public string MagicKey { get; set; }

Property Value

System.String

SuggestionResult.Text Property

The string name of the suggested location to geocode.

public string Text { get; set; }

Property Value

System.String