This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

BrokenLinkResult Pennington.Infrastructure

A link that failed verification.

Properties

Reason string
Human-readable reason the link is considered broken.
SourcePage ContentRoute
Page that contained the link.
Type LinkType
Classification of the broken link.
Url string
Link target URL.

Constructors

BrokenLinkResult

#
public BrokenLinkResult(ContentRoute SourcePage, string Url, LinkType Type, string Reason)

A link that failed verification.

Parameters

SourcePage ContentRoute
Page that contained the link.
Url string
Link target URL.
Type LinkType
Classification of the broken link.
Reason string
Human-readable reason the link is considered broken.

Pennington.Infrastructure.BrokenLinkResult

namespace Pennington.Infrastructure;

/// A link that failed verification.
public record BrokenLinkResult
{
    /// A link that failed verification.
    
public BrokenLinkResult(ContentRoute SourcePage, string Url, LinkType Type, string Reason)
; /// Human-readable reason the link is considered broken.
public string Reason { get; set; }
/// Page that contained the link.
public ContentRoute SourcePage { get; set; }
/// Classification of the broken link.
public LinkType Type { get; set; }
/// Link target URL.
public string Url { get; set; }
}