C# Class MediaAppSample.Core.ViewModels.SearchViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: Microsoft/TVHelpers

Méthodes publiques

Méthode Description
SearchViewModel ( ) : MediaAppSample.Core.Data
searchBox_QuerySubmitted ( AutoSuggestBox sender, AutoSuggestBoxQuerySubmittedEventArgs args ) : void
searchBox_SuggestionChosen ( AutoSuggestBox sender, AutoSuggestBoxSuggestionChosenEventArgs args ) : void
searchBox_TextChanged ( AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args ) : void

Méthodes protégées

Méthode Description
OnBackNavigationRequested ( ) : bool
OnLoadStateAsync ( LoadStateEventArgs e, bool isFirstRun ) : Task
OnRefreshAsync ( CancellationToken ct ) : Task

Refreshes the search results

Method Details

OnBackNavigationRequested() protected méthode

protected OnBackNavigationRequested ( ) : bool
Résultat bool

OnLoadStateAsync() protected méthode

protected OnLoadStateAsync ( LoadStateEventArgs e, bool isFirstRun ) : Task
e LoadStateEventArgs
isFirstRun bool
Résultat Task

OnRefreshAsync() protected méthode

Refreshes the search results
protected OnRefreshAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken Cancellation token.
Résultat Task

SearchViewModel() public méthode

public SearchViewModel ( ) : MediaAppSample.Core.Data
Résultat MediaAppSample.Core.Data

searchBox_QuerySubmitted() public méthode

public searchBox_QuerySubmitted ( AutoSuggestBox sender, AutoSuggestBoxQuerySubmittedEventArgs args ) : void
sender AutoSuggestBox
args AutoSuggestBoxQuerySubmittedEventArgs
Résultat void

searchBox_SuggestionChosen() public méthode

public searchBox_SuggestionChosen ( AutoSuggestBox sender, AutoSuggestBoxSuggestionChosenEventArgs args ) : void
sender AutoSuggestBox
args AutoSuggestBoxSuggestionChosenEventArgs
Résultat void

searchBox_TextChanged() public méthode

public searchBox_TextChanged ( AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args ) : void
sender AutoSuggestBox
args AutoSuggestBoxTextChangedEventArgs
Résultat void