layout: default title: SearchResponse parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

SearchResponse Class

When resolved, returns this response after calling search.

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

Inheritance System.Object 🡒 SearchResponse

Implements System.IEquatable<SearchResponse>

Constructors

SearchResponse(int, JavascriptError[], int, string, SearchResultResponse[]) Constructor

When resolved, returns this response after calling search.

public SearchResponse(int ActiveSourceIndex, dymaptic.GeoBlazor.Core.Exceptions.JavascriptError[] Errors, int NumResults, string SearchTerm, dymaptic.GeoBlazor.Core.Objects.SearchResultResponse[] Results);

Parameters

ActiveSourceIndex System.Int32

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

Errors JavascriptError[]

An array of error objects returned from the search results.

NumResults System.Int32

The number of search results.

SearchTerm System.String

The searched expression.

Results SearchResultResponse[]

An array of objects representing the results of the search.

Properties

SearchResponse.ActiveSourceIndex Property

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

public int ActiveSourceIndex { get; set; }

Property Value

System.Int32

SearchResponse.Errors Property

An array of error objects returned from the search results.

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

Property Value

JavascriptError[]

SearchResponse.NumResults Property

The number of search results.

public int NumResults { get; set; }

Property Value

System.Int32

SearchResponse.Results Property

An array of objects representing the results of the search.

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

Property Value

SearchResultResponse[]

SearchResponse.SearchTerm Property

The searched expression.

public string SearchTerm { get; set; }

Property Value

System.String