- Featurizing DevTools, adding scaffolding and profiling features.

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-06-23 12:23:22 -07:00
parent 289ade85bf
commit 1e8cbb7a6d
4 changed files with 21 additions and 2 deletions

View File

@@ -3,9 +3,11 @@ using Orchard.ContentManagement;
using Orchard.ContentManagement.Aspects;
using Orchard.Core.Common.Models;
using Orchard.Core.Navigation.Models;
using Orchard.Environment.Extensions;
using Orchard.Security;
namespace Orchard.DevTools.Commands {
[OrchardFeature("Profiling")]
public class ProfilingCommands : DefaultOrchardCommandHandler {
private readonly IContentManager _contentManager;
private readonly IMembershipService _membershipService;

View File

@@ -0,0 +1,8 @@
using Orchard.Commands;
using Orchard.Environment.Extensions;
namespace Orchard.DevTools.Commands {
[OrchardFeature("Scaffolding")]
public class ScaffoldingCommands : DefaultOrchardCommandHandler {
}
}

View File

@@ -7,5 +7,13 @@ orchardversion: 0.1.2010.0312
description: This module is not activated by default and should only be used in a development environment. It contains various debugging and tracing tools that can display information about your content types.
features:
Orchard.DevTools:
Description: An assortment of debuging tools.
Category: Developer
Description: An assortment of debugging tools.
Category: Developer
Scaffolding:
Description: Tools to create Orchard components.
Category: Developer
Dependencies: Orchard.DevTools
Profiling:
Description: Tools to help profile Orchard.
Category: Developer
Dependencies: Orchard.DevTools

View File

@@ -71,6 +71,7 @@
<ItemGroup>
<Compile Include="AdminMenu.cs" />
<Compile Include="Commands\ProfilingCommands.cs" />
<Compile Include="Commands\ScaffoldingCommands.cs" />
<Compile Include="Controllers\ContentController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\MetadataController.cs" />