Beispiel #1
0
 public AddMultiComicViewModel(IEnumerable <string> files)
 {
     _navigationService = ViewModelLocator.NavigationService();
     _businessSerie     = ViewModelLocator.BusinessSerie();
     _businessFichier   = ViewModelLocator.BusinessFichier();
     _dialogservice     = ViewModelLocator.DialogService();
     _businessFile      = ViewModelLocator.BusinessFile();
     _businessComicVine = ViewModelLocator.BusinessComicVine();
     _businessPage      = ViewModelLocator.BusinessPage();
     Files    = files;
     Fichiers = new ObservableCollection <AddSingleComicViewModel>();
     Series   = new List <SerieViewModel>();
 }
Beispiel #2
0
        public AddSingleComicViewModel(String filepath)
        {
            _navigationService = ViewModelLocator.NavigationService();
            _businessSerie     = ViewModelLocator.BusinessSerie();
            _businessFichier   = ViewModelLocator.BusinessFichier();
            _dialogservice     = ViewModelLocator.DialogService();
            _businessFile      = ViewModelLocator.BusinessFile();
            _businessComicVine = ViewModelLocator.BusinessComicVine();
            _businessPage      = ViewModelLocator.BusinessPage();
            FilePath           = filepath;
            Name    = Path.GetFileNameWithoutExtension(FilePath);
            Fichier = new Fichier();
            Pages   = new ObservableCollection <PageViewModel>();
            Series  = new List <SerieViewModel>();

            //LoadingPages();
        }
Beispiel #3
0
 public ResolveIssueViewModel(String Name)
 {
     NameToSearch       = Name;
     _businessComicVine = ViewModelLocator.BusinessComicVine();
 }