mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fix name of default pattern providers
--HG-- branch : autoroute
This commit is contained in:
@@ -9,10 +9,10 @@ using Orchard.Blogs.Models;
|
|||||||
using Orchard.Core.Common.Models;
|
using Orchard.Core.Common.Models;
|
||||||
|
|
||||||
namespace Orchard.Blogs.Routing {
|
namespace Orchard.Blogs.Routing {
|
||||||
public interface IAutorouteEventHandler : IEventHandler {
|
public interface IRoutePatternProvider : IEventHandler {
|
||||||
void Routed(IContent content, String path, ICollection<Tuple<string, RouteValueDictionary>> aliases);
|
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) {
|
public void Routed(IContent content, string path, ICollection<Tuple<string, RouteValueDictionary>> aliases) {
|
||||||
|
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ using Orchard.ContentManagement.Aspects;
|
|||||||
|
|
||||||
namespace Orchard.Widgets.Handlers {
|
namespace Orchard.Widgets.Handlers {
|
||||||
|
|
||||||
public interface IAutorouteEventHandler : IEventHandler {
|
public interface IRoutePatternProvider : IEventHandler {
|
||||||
void Routed(IContent content, String path, ICollection<Tuple<string, RouteValueDictionary>> aliases);
|
void Routed(IContent content, String path, ICollection<Tuple<string, RouteValueDictionary>> aliases);
|
||||||
}
|
}
|
||||||
|
|
||||||
[OrchardFeature("Orchard.Widgets.PageLayerHinting")]
|
[OrchardFeature("Orchard.Widgets.PageLayerHinting")]
|
||||||
public class LayerHintHandler : IAutorouteEventHandler {
|
public class LayerHintHandler : IRoutePatternProvider {
|
||||||
public LayerHintHandler(IOrchardServices services, RequestContext requestContext) {
|
public LayerHintHandler(IOrchardServices services, RequestContext requestContext) {
|
||||||
T = NullLocalizer.Instance;
|
T = NullLocalizer.Instance;
|
||||||
_requestContext = requestContext;
|
_requestContext = requestContext;
|
||||||
|
|||||||
Reference in New Issue
Block a user