mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user