BrokenLinkResult
Pennington.Infrastructure
A link that failed verification.
Properties
Reasonstring- Human-readable reason the link is considered broken.
SourcePageContentRoute- Page that contained the link.
TypeLinkType- Classification of the broken link.
Urlstring- Link target URL.
Constructors
BrokenLinkResult
#public 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 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; }
}