Class LibraryDownloadOutcome
- Namespace
- EncDotNet.S100.Collections.Library
- Assembly
- EncDotNet.S100.Collections.dll
The outcome of DownloadAsync(IReadOnlyList<(CollectionItem Item, LibrarySource Source)>, bool, IProgress<LibraryDownloadProgress>?, CancellationToken).
public sealed record LibraryDownloadOutcome : IEquatable<LibraryDownloadOutcome>
- Inheritance
-
LibraryDownloadOutcome
- Implements
- Inherited Members
Constructors
LibraryDownloadOutcome(LibraryDownloadResult, IReadOnlyList<Guid>, LibraryLoadResult?)
The outcome of DownloadAsync(IReadOnlyList<(CollectionItem Item, LibrarySource Source)>, bool, IProgress<LibraryDownloadProgress>?, CancellationToken).
public LibraryDownloadOutcome(LibraryDownloadResult Download, IReadOnlyList<Guid> ReindexedSources, LibraryLoadResult? Load)
Parameters
DownloadLibraryDownloadResultWhat the download batch did.
ReindexedSourcesIReadOnlyList<Guid>Sources re-indexed because a package was downloaded (a package lists its datasets only once its source re-indexes); its datasets are not opened.
LoadLibraryLoadResultWhat opening the downloaded items did, or null when nothing was opened.
Properties
Download
What the download batch did.
public LibraryDownloadResult Download { get; init; }
Property Value
Load
What opening the downloaded items did, or null when nothing was opened.
public LibraryLoadResult? Load { get; init; }
Property Value
ReindexedSources
Sources re-indexed because a package was downloaded (a package lists its datasets only once its source re-indexes); its datasets are not opened.
public IReadOnlyList<Guid> ReindexedSources { get; init; }