public GalleryDetailViewModel(EHGallery gallery, EHApi api)
 {
     Api     = api;
     Gallery = gallery;
     Title   = gallery.Title;
     Init();
 }
Beispiel #2
0
 public GalleryViewModel(EHApi api, string title, string link)
 {
     Api   = api;
     Title = "EHentai";
     ResetLink(title, link);
     Source = new LoadingCollection <IIncrementalSource <EHGallery>, EHGallery>(this);
 }
Beispiel #3
0
 public GalleryViewModel(EHApi api, EHGalleryTag tag)
 {
     Api   = api;
     Title = "EHentai";
     ResetTag(tag);
     Source = new LoadingCollection <IIncrementalSource <EHGallery>, EHGallery>(this);
 }
Beispiel #4
0
 public EHReadingImage(IEHGalleryImage it, EHApi api, int index)
 {
     Data  = it;
     _api  = api;
     Index = index;
 }
Beispiel #5
0
 public EHReadingViewModel(EHApi api, string url, IEHGalleryImage image = null)
 {
     _api = api;
     _url = url;
     Init(image);
 }
 public GalleryDetailViewModel(string gallery, EHApi api)
 {
     Api = api;
     Init(gallery);
 }