public NovelViewPageViewModel(ICategoryService categoryService, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _categoryService = categoryService; _pixivClient = pixivClient; _queryCacheService = queryCacheService; Text = "読込中..."; }
public PixivTrending(SearchType searchType, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _searchType = searchType; _pixivClient = pixivClient; _queryCacheService = queryCacheService; TrendingTags = new ObservableCollection <ITrendTag>(); }
public PixivDetail(string id, SearchType searchType, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _id = id; _searchType = searchType; _pixivClient = pixivClient; _queryCacheService = queryCacheService; }
public PixivBookmarkTag(IPixivClient pixivClient, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _queryCacheService = queryCacheService; BookmarkTags = new ObservableCollection <IBookmarkTag>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivSearch(IPixivClient pixivClient, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _queryCacheService = queryCacheService; ResultIllusts = new ObservableCollection <IIllust>(); ResultNovels = new ObservableCollection <INovel>(); ResultUsers = new ObservableCollection <IUserPreview>(); _offset = ""; _count = 0; HasMoreItems = false; }
public UserDetailPageViewModel(IAccountService accountService, ICategoryService categoryService, IImageStoreService imageStoreService, INavigationService navigationService, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _accountService = accountService; _categoryService = categoryService; _imageStoreService = imageStoreService; NavigationService = navigationService; _pixivClient = pixivClient; _queryCacheService = queryCacheService; ThumbnailPath = PyxisConstants.DummyIcon; }
public PixivFavorite(IPixivClient pixivClient, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _queryCacheService = queryCacheService; ResultIllusts = new ObservableCollection <IIllust>(); ResultNovels = new ObservableCollection <INovel>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public FollowingMainPageViewModel(IAccountService accountService, ICategoryService categoryService, IImageStoreService imageStoreService, INavigationService navigationService, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _accountService = accountService; _categoryService = categoryService; _imageStoreService = imageStoreService; NavigationService = navigationService; _pixivClient = pixivClient; _queryCacheService = queryCacheService; FollowingUsers = new IncrementalObservableCollection <TappableThumbnailViewModel>(); }
public PixivBookmark(IPixivClient pixivClient, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _queryCacheService = queryCacheService; _offset = ""; Novels = new ObservableCollection <INovel>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public UserDetailCollectionPageViewModel(IAccountService accountService, ICategoryService categoryService, IImageStoreService imageStoreService, INavigationService navigationService, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _accountService = accountService; _categoryService = categoryService; _imageStoreService = imageStoreService; NavigationService = navigationService; _pixivClient = pixivClient; _queryCacheService = queryCacheService; ThumbnailPath = PyxisConstants.DummyIcon; Collection = new IncrementalObservableCollection <ThumbnailableViewModel>(); }
public PixivRelated(IIllust illust, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _illust = illust; _pixivClient = pixivClient; _queryCacheService = queryCacheService; _seedIds = ""; RelatedIllusts = new ObservableCollection <IIllust>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivComment(INovel novel, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _novel = novel; _pixivClient = pixivClient; _queryCacheService = queryCacheService; Comments = new ObservableCollection <IComment>(); _offset = ""; #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivFollower(string userId, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _userId = userId; _pixivClient = pixivClient; _queryCacheService = queryCacheService; Users = new ObservableCollection <IUserPreview>(); _offset = ""; #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivComment(IIllust illust, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _illust = illust; _pixivClient = pixivClient; _queryCacheService = queryCacheService; _offset = ""; Comments = new ObservableCollection <IComment>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivBrowsingHistory(IPixivClient pixivClient, ContentType2 contentType, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _contentType = contentType; _queryCacheService = queryCacheService; _offset = ""; Illusts = new ObservableCollection <IIllust>(); Novels = new ObservableCollection <INovel>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivWork(string id, ContentType contentType, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _id = id; _contentType = contentType; _pixivClient = pixivClient; _queryCacheService = queryCacheService; _offset = ""; Illusts = new ObservableCollection <IIllust>(); Novels = new ObservableCollection <INovel>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivRanking(IPixivClient pixivClient, ContentType rankingType, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _rankingType = rankingType; _queryCacheService = queryCacheService; if (_rankingType == ContentType.Novel) { RankingOfNovels = new ObservableCollection <Tuple <RankingMode, INovels> >(); } else { Ranking = new ObservableCollection <Tuple <RankingMode, IIllusts> >(); } HasMoreItems = false; }
public NovelDetailPageViewModel(IAccountService accountService, IBrowsingHistoryService browsingHistoryService, ICategoryService categoryService, IImageStoreService imageStoreService, INavigationService navigationService, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _accountService = accountService; _browsingHistoryService = browsingHistoryService; _categoryService = categoryService; _imageStoreService = imageStoreService; _navigationService = navigationService; _pixivClient = pixivClient; _queryCacheService = queryCacheService; Tags = new ObservableCollection <PixivTagViewModel>(); Comments = new ObservableCollection <PixivCommentViewModel>(); ThumbnailPath = PyxisConstants.DummyImage; IconPath = PyxisConstants.DummyIcon; }
public PixivRecommended(IAccountService accountService, IPixivClient pixivClient, IQueryCacheService queryCacheService, ContentType contentType) { _accountService = accountService; _contentType = contentType; _pixivClient = pixivClient; _queryCacheService = queryCacheService; _offset = ""; RecommendedNovels = new ObservableCollection <INovel>(); RecommendedImages = new ObservableCollection <IIllust>(); RecommendedUsers = new ObservableCollection <IUserPreview>(); #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivNew(ContentType contentType, FollowType followType, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _contentType = contentType; _followType = followType; _pixivClient = pixivClient; _queryCacheService = queryCacheService; NewIllusts = new ObservableCollection <IIllust>(); NewNovels = new ObservableCollection <INovel>(); _offset = ""; _maxNovelId = ""; _maxIllustId = ""; #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public PixivRanking(IPixivClient pixivClient, ContentType rankingType, RankingMode rankingMode, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _rankingType = rankingType; _rankingMode = rankingMode; _queryCacheService = queryCacheService; _offset = ""; if (_rankingType == ContentType.Novel) { Novels = new ObservableCollection <INovel>(); } else { Illusts = new ObservableCollection <IIllust>(); } #if OFFLINE HasMoreItems = false; #else HasMoreItems = true; #endif }
public FavoriteOptionDialogViewModel(IPixivClient pixivClient, IQueryCacheService queryCacheService) { _pixivClient = pixivClient; _queryCacheService = queryCacheService; Tags = new IncrementalObservableCollection <string>(); }
public BrowsingHistoryService(IPixivClient pixivClient) { _pixivClient = pixivClient; _illustIds = new List <int>(); _novelIds = new List <int>(); }
public ImageStoreService(IPixivClient client) { _client = client; _temporaryFolder = ApplicationData.Current.TemporaryFolder; Regex.CacheSize = short.MaxValue; }
public AccountService(IPixivClient pixivClient) { _pixivClient = pixivClient; IsLoggedIn = false; IsPremium = false; }
public PixivNovelText(INovel novel, IPixivClient pixivClient, IQueryCacheService queryCacheService) { _novel = novel; _pixivClient = pixivClient; _queryCacheService = queryCacheService; }