mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
- Removing obsolete event bus handler.
- Making DateTimeShapes a ISingletonDependency instead of IDependency. --HG-- branch : perf
This commit is contained in:
@@ -7,7 +7,7 @@ using Orchard.Mvc.Html;
|
|||||||
using Orchard.Services;
|
using Orchard.Services;
|
||||||
|
|
||||||
namespace Orchard.Core.Shapes {
|
namespace Orchard.Core.Shapes {
|
||||||
public class DateTimeShapes : IDependency {
|
public class DateTimeShapes : ISingletonDependency {
|
||||||
private readonly IClock _clock;
|
private readonly IClock _clock;
|
||||||
|
|
||||||
public DateTimeShapes(IClock clock) {
|
public DateTimeShapes(IClock clock) {
|
||||||
|
@@ -1,7 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using Orchard.UI.Widgets;
|
using Orchard.UI.Widgets;
|
||||||
|
|
||||||
namespace Orchard.Widgets.RuleEngine {
|
namespace Orchard.Widgets.RuleEngine {
|
||||||
|
@@ -3,7 +3,6 @@ using System.Linq;
|
|||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using Orchard.ContentManagement;
|
using Orchard.ContentManagement;
|
||||||
using Orchard.ContentManagement.Aspects;
|
using Orchard.ContentManagement.Aspects;
|
||||||
using Orchard.Core.Common.Models;
|
|
||||||
using Orchard.Themes;
|
using Orchard.Themes;
|
||||||
using Orchard.Widgets.Models;
|
using Orchard.Widgets.Models;
|
||||||
|
|
||||||
|
@@ -1,7 +0,0 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace Orchard.Events {
|
|
||||||
public interface IEventBusHandler : IDependency {
|
|
||||||
void Process(string messageName, IDictionary<string, string> eventData);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -657,7 +657,6 @@
|
|||||||
<Compile Include="Events\EventsRegistrationSource.cs" />
|
<Compile Include="Events\EventsRegistrationSource.cs" />
|
||||||
<Compile Include="Environment\Configuration\IShellSettingsManagerEventHandler.cs" />
|
<Compile Include="Environment\Configuration\IShellSettingsManagerEventHandler.cs" />
|
||||||
<Compile Include="Events\IEventBus.cs" />
|
<Compile Include="Events\IEventBus.cs" />
|
||||||
<Compile Include="Events\IEventBusHandler.cs" />
|
|
||||||
<Compile Include="Environment\Extensions\Folders\AreaFolders.cs" />
|
<Compile Include="Environment\Extensions\Folders\AreaFolders.cs" />
|
||||||
<Compile Include="Environment\Extensions\Folders\ExtensionFolders.cs" />
|
<Compile Include="Environment\Extensions\Folders\ExtensionFolders.cs" />
|
||||||
<Compile Include="Environment\Extensions\Models\Extension.cs" />
|
<Compile Include="Environment\Extensions\Models\Extension.cs" />
|
||||||
|
Reference in New Issue
Block a user