Fix name of default pattern providers

--HG--
branch : autoroute
This commit is contained in:
randompete
2012-01-18 08:16:06 +00:00
parent d8e98175a9
commit f2b161211a
2 changed files with 4 additions and 4 deletions

View File

@@ -9,10 +9,10 @@ using Orchard.Blogs.Models;
using Orchard.Core.Common.Models;
namespace Orchard.Blogs.Routing {
public interface IAutorouteEventHandler : IEventHandler {
public interface IRoutePatternProvider : IEventHandler {
void Routed(IContent content, String path, ICollection<Tuple<string, RouteValueDictionary>> aliases);
}
public class BlogAutoroutes : IAutorouteEventHandler {
public class BlogAutoroutes : IRoutePatternProvider {
public void Routed(IContent content, string path, ICollection<Tuple<string, RouteValueDictionary>> aliases) {

View File

@@ -12,12 +12,12 @@ using Orchard.ContentManagement.Aspects;
namespace Orchard.Widgets.Handlers {
public interface IAutorouteEventHandler : IEventHandler {
public interface IRoutePatternProvider : IEventHandler {
void Routed(IContent content, String path, ICollection<Tuple<string, RouteValueDictionary>> aliases);
}
[OrchardFeature("Orchard.Widgets.PageLayerHinting")]
public class LayerHintHandler : IAutorouteEventHandler {
public class LayerHintHandler : IRoutePatternProvider {
public LayerHintHandler(IOrchardServices services, RequestContext requestContext) {
T = NullLocalizer.Instance;
_requestContext = requestContext;