mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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;
|
||||
|
||||
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) {
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user