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

IPageResolver Pennington.Content

Resolves a requested URL to a fully rendered page by walking the registered content services, parsing the matching item, and rendering it.

Methods

ResolveAsync

#
public Task<RenderedItem> ResolveAsync(UrlPath requested)

Returns the rendered page whose canonical route matches requested, or null when nothing matches or the match fails to parse or render.

Parameters

requested UrlPath

Returns

Task<RenderedItem>

Pennington.Content.IPageResolver

namespace Pennington.Content;

/// Resolves a requested URL to a fully rendered page by walking the registered content services, parsing the matching item, and rendering it.
public interface IPageResolver
{
    /// Returns the rendered page whose canonical route matches requested, or null when nothing matches or the match fails to parse or render.
    
public Task<RenderedItem> ResolveAsync(UrlPath requested)
; }