layout: default title: SuggestResponse parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

SuggestResponse Class

When resolved, returns this response after calling suggest.

public class SuggestResponse :
System.IEquatable<dymaptic.GeoBlazor.Core.Objects.SuggestResponse>

Inheritance System.Object 🡒 SuggestResponse

Implements System.IEquatable<SuggestResponse>

Constructors

SuggestResponse(int, JavascriptError[], int, string, SuggestResultResponse[]) Constructor

When resolved, returns this response after calling suggest.

public SuggestResponse(int ActiveSourceIndex, dymaptic.GeoBlazor.Core.Exceptions.JavascriptError[] Errors, int NumResults, string SuggestTerm, dymaptic.GeoBlazor.Core.Objects.SuggestResultResponse[] Results);

Parameters

ActiveSourceIndex System.Int32

The index of the source from which the suggest result was obtained.

Errors JavascriptError[]

An array of error objects returned from the suggest results.

NumResults System.Int32

The number of suggest results.

SuggestTerm System.String

The suggested expression.

Results SuggestResultResponse[]

An array of objects representing the results of the suggest.

Properties

SuggestResponse.ActiveSourceIndex Property

The index of the source from which the suggest result was obtained.

public int ActiveSourceIndex { get; set; }

Property Value

System.Int32

SuggestResponse.Errors Property

An array of error objects returned from the suggest results.

public dymaptic.GeoBlazor.Core.Exceptions.JavascriptError[] Errors { get; set; }

Property Value

JavascriptError[]

SuggestResponse.NumResults Property

The number of suggest results.

public int NumResults { get; set; }

Property Value

System.Int32

SuggestResponse.Results Property

An array of objects representing the results of the suggest.

public dymaptic.GeoBlazor.Core.Objects.SuggestResultResponse[] Results { get; set; }

Property Value

SuggestResultResponse[]

SuggestResponse.SuggestTerm Property

The suggested expression.

public string SuggestTerm { get; set; }

Property Value

System.String