Perf: moving the shape table manager to singleton scope

The shape descriptors and bindings are no longer created per request

--HG--
branch : perf
extra : rebase_source : c01a878a89763ddf80ec928b3e8d9581702ffd3a
This commit is contained in:
Louis DeJardin
2010-11-16 12:03:26 -08:00
parent e38ee53dbd
commit 46d2821b8b

View File

@@ -9,7 +9,7 @@ using Orchard.Utility;
namespace Orchard.DisplayManagement.Descriptors {
public class DefaultShapeTableManager : IShapeTableManager {
public class DefaultShapeTableManager : IShapeTableManager, ISingletonDependency {
private readonly IEnumerable<Meta<IShapeTableProvider>> _bindingStrategies;
private readonly IExtensionManager _extensionManager;