mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Moving IFeatureEventHandler to its own file.
This commit is contained in:
15
src/Orchard/Environment/IFeatureEventHandler.cs
Normal file
15
src/Orchard/Environment/IFeatureEventHandler.cs
Normal file
@@ -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);
|
||||
}
|
||||
}
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -237,6 +237,7 @@
|
||||
<Compile Include="Environment\IAssemblyLoader.cs" />
|
||||
<Compile Include="Environment\HostComponentsConfigModule.cs" />
|
||||
<Compile Include="Environment\Extensions\ICriticalErrorProvider.cs" />
|
||||
<Compile Include="Environment\IFeatureEventHandler.cs" />
|
||||
<Compile Include="Environment\IOrchardFrameworkAssemblies.cs" />
|
||||
<Compile Include="Environment\IWorkContextEvents.cs" />
|
||||
<Compile Include="Environment\State\ContextState.cs" />
|
||||
|
Reference in New Issue
Block a user