Adding the umbraco:image control, and the ImageUrl feature with a some generic ProviderFeature classes, to make it easier to implement future provider based features.
This commit is contained in:
12
src/Umbraco.Core/ObjectResolution/WebHttpContextFactory.cs
Normal file
12
src/Umbraco.Core/ObjectResolution/WebHttpContextFactory.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Web;
|
||||
|
||||
namespace Umbraco.Core.ObjectResolution
|
||||
{
|
||||
public class WebHttpContextFactory : IHttpContextFactory
|
||||
{
|
||||
public HttpContextBase Context
|
||||
{
|
||||
get { return new HttpContextWrapper(HttpContext.Current); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user