Class LibraryDownloadResult
- Namespace
- EncDotNet.S100.Collections.Library
- Assembly
- EncDotNet.S100.Collections.dll
The outcome of DownloadAsync(IReadOnlyList<CollectionItem>, IProgress<LibraryDownloadProgress>?, CancellationToken).
public sealed record LibraryDownloadResult : IEquatable<LibraryDownloadResult>
- Inheritance
-
LibraryDownloadResult
- Implements
- Inherited Members
Constructors
LibraryDownloadResult(int, int, bool)
The outcome of DownloadAsync(IReadOnlyList<CollectionItem>, IProgress<LibraryDownloadProgress>?, CancellationToken).
public LibraryDownloadResult(int Downloaded, int Failed, bool Cancelled)
Parameters
DownloadedintDownloads that completed.
FailedintDownloads that failed (or were cancelled on their own).
CancelledboolTrue when the batch was cancelled before every download finished.
Properties
Cancelled
True when the batch was cancelled before every download finished.
public bool Cancelled { get; init; }
Property Value
Downloaded
Downloads that completed.
public int Downloaded { get; init; }
Property Value
Failed
Downloads that failed (or were cancelled on their own).
public int Failed { get; init; }