Пример #1
0
 protected override async Task DoLoadingAsync()
 {
     foreach (var x in FindPersistedFolders())
     {
         var ncode    = Path.GetFileName(x);
         var bookmark = new NarouBookmarkInfo(ncode);
         this.Add(bookmark);
     }
 }
Пример #2
0
        protected override async Task DoDownloadingAsync(string ncode)
        {
            var narou = new NarouClient();

            if (!await narou.ExistNcodeAsync(ncode))
            {
                return;
            }

            var bookmarkInfo = new NarouBookmarkInfo(ncode);

            this.Add(bookmarkInfo);
        }