dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

SearchViewModelSelectResultEvent Class

Event result type for the SearchViewModel.OnSelectResult event.

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

Inheritance System.Object 🡒 SearchViewModelSelectResultEvent

Implements System.IEquatable<SearchViewModelSelectResultEvent>

Constructors

SearchViewModelSelectResultEvent(SearchViewModelSelectResultEventResult, SearchSource, Nullable) Constructor

Event result type for the SearchViewModel.OnSelectResult event.

public SearchViewModelSelectResultEvent(dymaptic.GeoBlazor.Core.Results.SearchViewModelSelectResultEventResult? Result=null, dymaptic.GeoBlazor.Core.Components.SearchSource? Source=null, System.Nullable<int> SourceIndex=null);

Parameters

Result SearchViewModelSelectResultEventResult

An object containing the results of the search.

Source SearchSource

The source of the selected result. Please see sources for
additional information on its properties.

SourceIndex System.Nullable<System.Int32>

The index of the source of the selected result.

Properties

SearchViewModelSelectResultEvent.Result Property

An object containing the results of the search.

public dymaptic.GeoBlazor.Core.Results.SearchViewModelSelectResultEventResult? Result { get; set; }

Property Value

SearchViewModelSelectResultEventResult

SearchViewModelSelectResultEvent.Source Property

The source of the selected result. Please see sources for
additional information on its properties.

public dymaptic.GeoBlazor.Core.Components.SearchSource? Source { get; set; }

Property Value

SearchSource

SearchViewModelSelectResultEvent.SourceIndex Property

The index of the source of the selected result.

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

Property Value

System.Nullable<System.Int32>