public DCCharactersPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, int offeset = 100) : base(navigationService, dialogService, apiComicsVine, DC_Comics, offeset)
        {
            LoadListCommand = new DelegateCommand(async () =>
            {
                await LoadCharacters(offeset);
            });
            LoadListCommand.Execute();

        }
Esempio n. 2
0
 public DcSeriesPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine, DcUniverse, WarnerBrothers, Offset)
 {
     LoadListCommand = new DelegateCommand(async() =>
     {
         await LoadSeries(Offset);
     });
     LoadListCommand.Execute();
 }
 public BaseViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine)
 {
     this.navigationService = navigationService;
     this.dialogService     = dialogService;
     this.apiComicsVine     = apiComicsVine;
 }
 public MarvelVsDcComicsPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine)
 {
     DcUniverseCommand = new DelegateCommand(async() =>
     {
         await navigationService.NavigateAsync(new Uri($"{ConfigPageUri.SharedTransitionNavigationPage}{ConfigPageUri.TappedDcComicsPage}", UriKind.Absolute));
     });
     MarvelCommand = new DelegateCommand(async() =>
     {
         await navigationService.NavigateAsync(new Uri($"{ConfigPageUri.SharedTransitionNavigationPage}{ConfigPageUri.TappedMarvelPage}", UriKind.Relative));
     });
 }
Esempio n. 5
0
 public CharacterPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, string publisherName, int offeset) : base(navigationService, dialogService, apiComicsVine)
 {
     this.PublisherName         = publisherName;
     ItemTresholdReachedCommand = new DelegateCommand(async() =>
     {
         offeset += 100;
         await ScrollLoadCharacters(offeset);
     });
 }
Esempio n. 6
0
 public DetailSeriesPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine)
 {
 }
 public VolumePageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, string publisherPrincipal, string publisherSecond, string publisherThird, int offeset) : base(navigationService, dialogService, apiComicsVine)
 {
     this.PublisherPrincipal    = publisherPrincipal;
     this.PublisherSecond       = publisherSecond;
     this.PublisherThird        = publisherThird;
     ItemTresholdReachedCommand = new DelegateCommand(async() =>
     {
         offeset = offeset + 100;
         await ScrollLoadComics(offeset);
     });
 }
 public MarvelViewModels(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, int offeset = 100) : base(navigationService, dialogService, apiComicsVine, Marvel, offeset)
 {
     LoadMarvelCharacters(offeset);
 }
Esempio n. 9
0
 public MarvelVolumePageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine, MarvelUniverse, FawcettPublications, Atlas, Offset)
 {
     LoadListCommand = new DelegateCommand(async() =>
     {
         await LoadComics(Offset);
     });
     LoadListCommand.Execute();
 }
Esempio n. 10
0
        public CharacterPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, string publisherName, int offeset) : base(navigationService, dialogService, apiComicsVine)
        {
            this.PublisherName         = publisherName;
            ItemTresholdReachedCommand = new DelegateCommand(async() =>
            {
                offeset += 100;
                await ScrollLoadCharacters(offeset);
            });

            SearchCommand = new DelegateCommand(async() =>
            {
                await FindCharacter(Text, 0);
            });

            RefreshCommand = new DelegateCommand(async() =>
            {
                IsBusy = true;
                Text   = null;
                await LoadCharacters(0);
                IsBusy = false;
            });
        }
 public CompareCharactersPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, ApiStatsCharacters apiStatsCharacters, string publisher) : base(navigationService, dialogService, apiComicsVine)
 {
     this.apiStatsCharacters = apiStatsCharacters;
     LoadListCommand         = new DelegateCommand(async() =>
     {
         await LoadCharacters(publisher);
     });
     LoadListCommand.Execute();
 }
 public MarvelCompareCharacterPageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, ApiStatsCharacters apiStatsCharacters) : base(navigationService, dialogService, apiComicsVine, apiStatsCharacters, MarvelComics)
 {
 }
Esempio n. 13
0
 public HomePageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine) : base(navigationService, dialogService, apiComicsVine)
 {
     //Animal  si la clase que vas a heredar tiene un maldito contructor que debes de hacer El MALDITO BASE , HICE QUE MI HERMANA ENSE;ARA LA NALGA
     //  ESTOY ANALIZANDO LA SITUCION NO ERES SANA PARA MI
     //AHHHHHAHHAHHHHAH MUERETOOOOOOOOOOOO
 }
Esempio n. 14
0
        public SeriePageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, string studioName, string ExtrastudioName, int offeset) : base(navigationService, dialogService, apiComicsVine)
        {
            this.ExtraStudioName = ExtrastudioName;
            this.StudioName      = studioName;
            RefreshCommand       = new DelegateCommand(async() =>
            {
                IsBusy = true;
                Text   = null;
                await LoadSeries(0);
                IsBusy = false;
            });

            ItemTresholdReachedCommand = new DelegateCommand(async() =>
            {
                offeset += 100;
                await ScrollLoadSeries(offeset);
            });

            SearchCommand = new DelegateCommand(async() =>
            {
                await FindSeries(Text, 0);
            });
        }
 public SeriePageViewModel(INavigationService navigationService, IPageDialogService dialogService, ApiComicsVine apiComicsVine, string studioName, string ExtrastudioName, int offeset) : base(navigationService, dialogService, apiComicsVine)
 {
     this.ExtraStudioName       = ExtrastudioName;
     this.StudioName            = studioName;
     ItemTresholdReachedCommand = new DelegateCommand(async() =>
     {
         offeset += 100;
         await ScrollLoadSeries(offeset);
     });
 }