DiscoveredItem Pennington.Pipeline
A content item discovered by a content service but not yet run through the pipeline.
Properties
MetadataIFrontMatter- Front matter the discovering service already parsed, when its source carried any; null for sources whose metadata is not known until parse or render time.
RouteContentRoute- Canonical route for the item.
SourceContentSource- Origin describing how the item's content is produced.
Constructors
DiscoveredItem
#public DiscoveredItem(ContentRoute Route, ContentSource Source)
A content item discovered by a content service but not yet run through the pipeline.
Parameters
RouteContentRoute- Canonical route for the item.
SourceContentSource- Origin describing how the item's content is produced.
Pennington.Pipeline.DiscoveredItem
namespace Pennington.Pipeline;
/// A content item discovered by a content service but not yet run through the pipeline.
public record DiscoveredItem
{
/// A content item discovered by a content service but not yet run through the pipeline.
public DiscoveredItem(ContentRoute Route, ContentSource Source)
;
/// Front matter the discovering service already parsed, when its source carried any; null for sources whose metadata is not known until parse or render time.
public IFrontMatter Metadata { get; set; }
/// Canonical route for the item.
public ContentRoute Route { get; set; }
/// Origin describing how the item's content is produced.
public ContentSource Source { get; set; }
}