コード例 #1
0
 public LibraryPageItemViewModel(IMetadata data, ISourceManager sourceManager, ReaderViewModel.Factory readerFactory, Conductor <TabViewModelBase> .Collection.OneActive conductor)
 {
     this.data          = data;
     this.readerFactory = readerFactory;
     this.conductor     = conductor;
     sourceManager.ConsumeAsync(data.Cover, SetCover);
 }
コード例 #2
0
 public void Start()
 {
     if (isDisposed)
     {
         return;
     }
     if (progress != null)
     {
         return;
     }
     progress = sourceManager.ConsumeAsync(uri, ConsumeStream);
 }