diff --git a/src/Orchard/Environment/IFeatureEventHandler.cs b/src/Orchard/Environment/IFeatureEventHandler.cs new file mode 100644 index 000000000..9f651288e --- /dev/null +++ b/src/Orchard/Environment/IFeatureEventHandler.cs @@ -0,0 +1,15 @@ +using Orchard.Environment.Extensions.Models; +using Orchard.Events; + +namespace Orchard.Environment { + public interface IFeatureEventHandler : IEventHandler { + void Installing(Feature feature); + void Installed(Feature feature); + void Enabling(Feature feature); + void Enabled(Feature feature); + void Disabling(Feature feature); + void Disabled(Feature feature); + void Uninstalling(Feature feature); + void Uninstalled(Feature feature); + } +} \ No newline at end of file diff --git a/src/Orchard/Environment/IOrchardShellEvents.cs b/src/Orchard/Environment/IOrchardShellEvents.cs index 889dc8cd9..5fd84dde3 100644 --- a/src/Orchard/Environment/IOrchardShellEvents.cs +++ b/src/Orchard/Environment/IOrchardShellEvents.cs @@ -1,20 +1,8 @@ -using Orchard.Environment.Extensions.Models; -using Orchard.Events; +using Orchard.Events; namespace Orchard.Environment { public interface IOrchardShellEvents : IEventHandler { void Activated(); void Terminating(); } - - public interface IFeatureEventHandler : IEventHandler { - void Installing(Feature feature); - void Installed(Feature feature); - void Enabling(Feature feature); - void Enabled(Feature feature); - void Disabling(Feature feature); - void Disabled(Feature feature); - void Uninstalling(Feature feature); - void Uninstalled(Feature feature); - } } diff --git a/src/Orchard/Orchard.Framework.csproj b/src/Orchard/Orchard.Framework.csproj index 0e037a171..715b3517f 100644 --- a/src/Orchard/Orchard.Framework.csproj +++ b/src/Orchard/Orchard.Framework.csproj @@ -237,6 +237,7 @@ +