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