Gets virtual page routing working, now just need to document.

This commit is contained in:
Shannon
2021-02-15 18:50:16 +11:00
parent 996c2b4277
commit 4f2682678e
18 changed files with 447 additions and 134 deletions

View File

@@ -0,0 +1,15 @@
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Web.Common.Controllers
{
/// <summary>
/// Used for custom routed controllers to execute within the context of Umbraco
/// </summary>
public interface IVirtualPageController
{
/// <summary>
/// Returns the <see cref="IPublishedContent"/> to use as the current page for the request
/// </summary>
IPublishedContent FindContent();
}
}