mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 03:58:13 +08:00
#18313: Fixing LifeTimeScope exception on Setup
Work Item: 18313 --HG-- branch : 1.x
This commit is contained in:
@@ -95,7 +95,7 @@ namespace Orchard.Setup {
|
||||
|
||||
builder.RegisterType<ShapeTemplateBindingStrategy>().As<IShapeTableProvider>().InstancePerLifetimeScope();
|
||||
builder.RegisterType<BasicShapeTemplateHarvester>().As<IShapeTemplateHarvester>().InstancePerLifetimeScope();
|
||||
builder.RegisterType<ShapeAttributeBindingStrategy>().As<IShapeTableProvider>().InstancePerLifetimeScope();
|
||||
builder.RegisterType<ShapeAttributeBindingStrategy>().As<IShapeTableProvider>().SingleInstance();
|
||||
builder.RegisterModule(new ShapeAttributeBindingModule());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user