* Gather all notifications in Umbraco.Cms.Core.Notifications * Rename notifications to match convention * Move and rename missed notifications * Move the three remaining public notification into Umbraco.Cms.Core.Notifications
21 lines
681 B
C#
21 lines
681 B
C#
using Umbraco.Cms.Core.Routing;
|
|
|
|
namespace Umbraco.Cms.Core.Notifications
|
|
{
|
|
/// <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; }
|
|
}
|
|
}
|