2016-06-09 11:57:13 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class AspNetHttpContextAccessor : IHttpContextAccessor
|
|
|
|
|
|
{
|
|
|
|
|
|
public HttpContext HttpContext
|
|
|
|
|
|
{
|
2021-02-21 13:40:51 +03:00
|
|
|
|
get => HttpContext.Current;
|
|
|
|
|
|
set => throw new NotSupportedException();
|
2016-06-09 11:57:13 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|