2021-02-18 11:06:02 +01:00
|
|
|
using Umbraco.Cms.Core.Events;
|
2021-01-08 00:25:09 +11:00
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Routing
|
2021-01-08 00:25:09 +11:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used for notifying when an Umbraco request is being built
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class RoutingRequestNotification : INotification
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="RoutingRequestNotification"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public RoutingRequestNotification(IPublishedRequestBuilder requestBuilder) => RequestBuilder = requestBuilder;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the <see cref="IPublishedRequestBuilder"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IPublishedRequestBuilder RequestBuilder { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|