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
requestedUrlPath
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)
;
}