Documentation
Table of Contents

Class CatalogProblem

Namespace
IntentSharp.Catalog
Assembly
IntentSharp.Catalog.dll

A problem found while loading definitions. Loading never throws for content errors; it reports them here and keeps the last good snapshot.

public sealed record CatalogProblem : IEquatable<CatalogProblem>
Inheritance
object
CatalogProblem
Implements
IEquatable<CatalogProblem>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
Extension Methods

Constructors

CatalogProblem(string, int?, string)

A problem found while loading definitions. Loading never throws for content errors; it reports them here and keeps the last good snapshot.

Properties

Line

The 1-based line the problem is on, or null when it is not tied to a line (for example a file that could not be read).

Message

What is wrong and what to change.

Source

Where the problem is. For a FileIntentCatalog, the file relative to the catalog folder, or the folder's full path when the folder is missing.

Methods

ToString()

The problem as source:line: message, or source: message when there is no line. Catalog load warnings are logged in this form.