* AB#9928 - Replace IUmbracoRequestLifetime with event aggregator * AB#9928 - Fix issue with profiling, by calling it explicitly in the request middleware * Longer timeout to avoid flaky test * Longer timeout to avoid flaky test Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
21 lines
450 B
C#
21 lines
450 B
C#
// Copyright (c) Umbraco.
|
|
// See LICENSE for more details.
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace Umbraco.Core.Events
|
|
{
|
|
/// <summary>
|
|
/// Notification raised on each request begin.
|
|
/// </summary>
|
|
public class UmbracoRequestBegin : INotification
|
|
{
|
|
public UmbracoRequestBegin(HttpContext httpContext)
|
|
{
|
|
HttpContext = httpContext;
|
|
}
|
|
|
|
public HttpContext HttpContext { get; }
|
|
};
|
|
}
|