This project is read-only.

Breaking change: HtmlHelper.Resolve<>() missing

Topics: Core
Jan 3, 2012 at 5:18 PM

The Resolve<>() extension method from HtmlHelper was removed in recent changesets. I don't know, what was the reason? It was a nice shortcut for HtmlHelper.ViewContext.RequestContext.GetWorkContext().Resolve<>().

Jan 3, 2012 at 5:43 PM

Can you point which changeset ? Also I would have actually used WorkContext.Resolve<> from within a view.

Jan 3, 2012 at 5:59 PM

It was in Orchard.Mvc.Html.ContainerExtensions (a funny class), removed here.

Actually I'm using this in an html helper, not in a view.