Refactoring to use object resolver, instead of ProviderBase

This commit is contained in:
Morten Bock
2012-11-21 07:14:40 -01:00
parent c95c1a7038
commit a2b876608f
16 changed files with 85 additions and 192 deletions

View File

@@ -1,9 +0,0 @@
using System.Web;
namespace Umbraco.Core.ObjectResolution
{
public interface IHttpContextFactory
{
HttpContextBase Context { get; }
}
}

View File

@@ -1,12 +0,0 @@
using System.Web;
namespace Umbraco.Core.ObjectResolution
{
public class WebHttpContextFactory : IHttpContextFactory
{
public HttpContextBase Context
{
get { return new HttpContextWrapper(HttpContext.Current); }
}
}
}