Example #1
0
    public static void ShowPosterPicker(this IDialogService dialogService, Tmdb tmdbObject, IgdbClass igdbObject, ResultResponse result, int pickedIndex, ObservableCollection <ListItem> resultData, bool isPickedById, Action <IDialogResult> callBack)
    {
        var p = new DialogParameters
        {
            { "pickedIndex", pickedIndex }, { "result", result }, { "tmdbObject", tmdbObject }, { "igdbObject", igdbObject }, { "resultList", resultData },
            { "isPickedById", isPickedById }
        };

        dialogService.ShowDialog("PosterPicker", p, callBack);
    }
Example #2
0
    public static void ShowSearchResult(this IDialogService dialogService, string searchMode, string query,
                                        string folderPath, ResultResponse result, Tmdb tmdbObject, IgdbClass igdbObject, bool isPickedById,
                                        Action <IDialogResult> callBack)
    {
        var p = new DialogParameters
        {
            { "query", query }, { "result", result }, { "searchmode", searchMode }, { "tmdbObject", tmdbObject },
            { "igdbObject", igdbObject },
            { "folderpath", folderPath },
            { "isPickedById", isPickedById }
        };

        dialogService.ShowDialog("SearchResult", p, callBack);
    }