BrokenLink Pennington.Generation
Record of a link that failed verification during build.
Properties
Reasonstring- Human-readable reason the link failed verification.
SourcePagePennington.Routing.ContentRoute- Route of the page that contained the broken link.
TypePennington.Generation.LinkType- Kind of link (internal, external, anchor, image).
Urlstring- Target URL that could not be resolved.
Constructors
.ctor
#public record BrokenLink(ContentRoute SourcePage, string Url, LinkType Type, string Reason);Record of a link that failed verification during build.
Parameters
SourcePageContentRoute- Route of the page that contained the broken link.
Urlstring- Target URL that could not be resolved.
TypeLinkType- Kind of link (internal, external, anchor, image).
Reasonstring- Human-readable reason the link failed verification.
Pennington.Generation.BrokenLink
namespace Pennington.Generation;
/// Record of a link that failed verification during build.
public record BrokenLink
{
/// Record of a link that failed verification during build.
public record BrokenLink(ContentRoute SourcePage, string Url, LinkType Type, string Reason);
/// Human-readable reason the link failed verification.
string Reason
;
/// Route of the page that contained the broken link.
ContentRoute SourcePage
;
/// Kind of link (internal, external, anchor, image).
LinkType Type
;
/// Target URL that could not be resolved.
string Url
;
}