dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

SearchViewModelSearchCompleteEvent Class

Event result type for the SearchViewModel.OnSearchComplete event.

public class SearchViewModelSearchCompleteEvent :
System.IEquatable<dymaptic.GeoBlazor.Core.Events.SearchViewModelSearchCompleteEvent>

Inheritance System.Object 🡒 SearchViewModelSearchCompleteEvent

Implements System.IEquatable<SearchViewModelSearchCompleteEvent>

Constructors

SearchViewModelSearchCompleteEvent(Nullable, IReadOnlyCollection, Nullable, IReadOnlyCollection, string) Constructor

Event result type for the SearchViewModel.OnSearchComplete event.

public SearchViewModelSearchCompleteEvent(System.Nullable<int> ActiveSourceIndex=null, System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Model.Error>? Errors=null, System.Nullable<double> NumResults=null, System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Results.SearchViewModelSearchCompleteEventResults>? Results=null, string? SearchTerm=null);

Parameters

ActiveSourceIndex System.Nullable<System.Int32>

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

Errors System.Collections.Generic.IReadOnlyCollection<Error>

An array of error objects returned from the search results.

NumResults System.Nullable<System.Double>

The number of results from the search.

Results System.Collections.Generic.IReadOnlyCollection<SearchViewModelSearchCompleteEventResults>

An array of objects representing the results of the search. See object specification
table below for more information about the result object.

SearchTerm System.String

The searched expression.

Properties

SearchViewModelSearchCompleteEvent.ActiveSourceIndex Property

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

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

Property Value

System.Nullable<System.Int32>

SearchViewModelSearchCompleteEvent.Errors Property

An array of error objects returned from the search results.

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Model.Error>? Errors { get; set; }

Property Value

System.Collections.Generic.IReadOnlyCollection<Error>

SearchViewModelSearchCompleteEvent.NumResults Property

The number of results from the search.

public System.Nullable<double> NumResults { get; set; }

Property Value

System.Nullable<System.Double>

SearchViewModelSearchCompleteEvent.Results Property

An array of objects representing the results of the search. See object specification
table below for more information about the result object.

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Results.SearchViewModelSearchCompleteEventResults>? Results { get; set; }

Property Value

System.Collections.Generic.IReadOnlyCollection<SearchViewModelSearchCompleteEventResults>

SearchViewModelSearchCompleteEvent.SearchTerm Property

The searched expression.

public string? SearchTerm { get; set; }

Property Value

System.String