2021-02-16 18:02:05 +11:00
|
|
|
using Microsoft.AspNetCore.Mvc.Filters;
|
2021-02-18 11:06:02 +01:00
|
|
|
using Umbraco.Cms.Core.Models.PublishedContent;
|
2021-02-15 18:50:16 +11:00
|
|
|
|
|
|
|
|
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>
|
2021-02-16 18:02:05 +11:00
|
|
|
IPublishedContent FindContent(ActionExecutingContext actionExecutingContext);
|
2021-02-15 18:50:16 +11:00
|
|
|
}
|
|
|
|
|
}
|