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>(); }
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(); }
public ResolveIssueViewModel(String Name) { NameToSearch = Name; _businessComicVine = ViewModelLocator.BusinessComicVine(); }