Table of Contents

Class LibraryProblem

Namespace
RDCore.SDK.Runtime.Libraries
Assembly
RDCore.SDK.dll

A library that a project references, or that one it references depends on, and that could not be loaded.

public sealed record LibraryProblem : IEquatable<LibraryProblem>
Inheritance
LibraryProblem
Implements
Inherited Members

Constructors

LibraryProblem(string, LibraryProblemKind, ImmutableArray<string>)

A library that a project references, or that one it references depends on, and that could not be loaded.

public LibraryProblem(string Name, LibraryProblemKind Kind, ImmutableArray<string> Related)

Parameters

Name string

The name of the library, as it was asked for.

Kind LibraryProblemKind

Why it could not be.

Related ImmutableArray<string>

What else the problem is about: for Cyclic, the libraries on the cycle in the order they depend on one another, ending with the one the path started from; for DependencyFailed, the library that failed; for Unreadable, the reason it cannot be read; for NotFound, the identity that was asked for (LibraryIdentity), when it gives an identifier, followed by the name of the library the source has of that identifier, when it is another name; for DuplicateName, the reference that is loaded and the one that is not; for InvalidIdentity, the identity.

Properties

Kind

Why it could not be.

public LibraryProblemKind Kind { get; init; }

Property Value

LibraryProblemKind

Name

The name of the library, as it was asked for.

public string Name { get; init; }

Property Value

string

What else the problem is about: for Cyclic, the libraries on the cycle in the order they depend on one another, ending with the one the path started from; for DependencyFailed, the library that failed; for Unreadable, the reason it cannot be read; for NotFound, the identity that was asked for (LibraryIdentity), when it gives an identifier, followed by the name of the library the source has of that identifier, when it is another name; for DuplicateName, the reference that is loaded and the one that is not; for InvalidIdentity, the identity.

public ImmutableArray<string> Related { get; init; }

Property Value

ImmutableArray<string>