Class PackageCheckContext

Assembly: redb.Route.Xml.dll

What a sees of the project, and where it reports.

public sealed class PackageCheckContext

Inheritance

Object→PackageCheckContext

Properties

Documents

The route documents of the project.

public IReadOnlyList<PackageDocument> Documents { get; }

ProjectDirectory

The project directory.

public string ProjectDirectory { get; }

Methods

Error(PackageDocument, XObject, string)

An error at a node of a document: the package does not build.

public void Error(PackageDocument document, XObject at, string message)

Resource(string, out string?)

The full path of a resource a route refers to, held to what the package ships (resources/), as the gate

public string? Resource(string reference, out string? problem)

Warning(PackageDocument, XObject, string)

A warning at a node of a document.

public void Warning(PackageDocument document, XObject at, string message)