Exemplo n.º 1
0
        private async Task Search()
        {
            Results = null;
            if (!string.IsNullOrWhiteSpace(SearchQuery))
            {
                IsBusy  = true;
                Results = await Novaroma.Helper.RunTask(() =>
                                                        _engine.SearchForDownload(SearchQuery, VideoQuality, ExcludeKeywords, MinSize, MaxSize),
                                                        _exceptionHandler
                                                        );

                IsBusy = false;
            }
        }