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
|
|
|
|
2022-05-09 09:39:46 +02:00
|
|
|
namespace Umbraco.Cms.Web.Common.Controllers;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used for custom routed controllers to execute within the context of Umbraco
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IVirtualPageController
|
2021-02-15 18:50:16 +11:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-05-09 09:39:46 +02:00
|
|
|
/// Returns the <see cref="IPublishedContent" /> to use as the current page for the request
|
2021-02-15 18:50:16 +11:00
|
|
|
/// </summary>
|
2022-06-20 09:20:47 +02:00
|
|
|
IPublishedContent? FindContent(ActionExecutingContext actionExecutingContext);
|
2021-02-15 18:50:16 +11:00
|
|
|
}
|