Gets virtual page routing working, now just need to document.
This commit is contained in:
15
src/Umbraco.Web.Common/Controllers/IVirtualPageController.cs
Normal file
15
src/Umbraco.Web.Common/Controllers/IVirtualPageController.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user