Class LibraryLoadResult
- Namespace
- EncDotNet.S100.Collections.Library
- Assembly
- EncDotNet.S100.Collections.dll
The outcome of LibraryLoader.LoadAsync.
public sealed record LibraryLoadResult : IEquatable<LibraryLoadResult>
- Inheritance
-
LibraryLoadResult
- Implements
- Inherited Members
Constructors
LibraryLoadResult(int, int, IReadOnlyList<string>?)
The outcome of LibraryLoader.LoadAsync.
public LibraryLoadResult(int Opened, int Skipped, IReadOnlyList<string>? Problems = null)
Parameters
OpenedintItems opened (loaded, or registered to load as you pan).
SkippedintItems that could not be opened (online, missing, catalogue-only, unknown product, or failed).
ProblemsIReadOnlyList<string>Why whole groups or single items failed to open, in the order they arose; null when nothing failed (skipping an item that cannot be opened at all, such as an online one, is not a problem).
Properties
Opened
Items opened (loaded, or registered to load as you pan).
public int Opened { get; init; }
Property Value
Problems
Why whole groups or single items failed to open, in the order they arose; null when nothing failed (skipping an item that cannot be opened at all, such as an online one, is not a problem).
public IReadOnlyList<string>? Problems { get; init; }
Property Value
Skipped
Items that could not be opened (online, missing, catalogue-only, unknown product, or failed).
public int Skipped { get; init; }