Table of Contents

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

Opened int

Items opened (loaded, or registered to load as you pan).

Skipped int

Items that could not be opened (online, missing, catalogue-only, unknown product, or failed).

Problems IReadOnlyList<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

int

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

IReadOnlyList<string>

Skipped

Items that could not be opened (online, missing, catalogue-only, unknown product, or failed).

public int Skipped { get; init; }

Property Value

int