BrokenLinkResult Pennington.Infrastructure
A link that failed verification.
Properties
Reasonstring- Human-readable reason the link is considered broken.
SourcePagePennington.Routing.ContentRoute- Page that contained the link.
TypePennington.Generation.LinkType- Classification of the broken link.
Urlstring- Link target URL.
Constructors
.ctor
#public record BrokenLinkResult(ContentRoute SourcePage, string Url, LinkType Type, string Reason);A link that failed verification.
Parameters
SourcePageContentRoute- Page that contained the link.
Urlstring- Link target URL.
TypeLinkType- Classification of the broken link.
Reasonstring- 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 record BrokenLinkResult(ContentRoute SourcePage, string Url, LinkType Type, string Reason);
/// Human-readable reason the link is considered broken.
string Reason
;
/// Page that contained the link.
ContentRoute SourcePage
;
/// Classification of the broken link.
LinkType Type
;
/// Link target URL.
string Url
;
}