Files
Umbraco-CMS/src/Umbraco.Web/AspNetHttpContextAccessor.cs

21 lines
384 B
C#
Raw Normal View History

2016-06-09 11:57:13 +02:00
using System;
using System.Web;
namespace Umbraco.Web
{
internal class AspNetHttpContextAccessor : IHttpContextAccessor
{
public HttpContext HttpContext
{
get
{
return HttpContext.Current;
}
set
{
throw new NotSupportedException();
}
}
}
}