mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing Setup
--HG-- branch : 1.x
This commit is contained in:
@@ -96,10 +96,7 @@ namespace Orchard.Setup {
|
|||||||
|
|
||||||
builder.RegisterType<ShapeTemplateBindingStrategy>().As<IShapeTableProvider>().InstancePerLifetimeScope();
|
builder.RegisterType<ShapeTemplateBindingStrategy>().As<IShapeTableProvider>().InstancePerLifetimeScope();
|
||||||
builder.RegisterType<BasicShapeTemplateHarvester>().As<IShapeTemplateHarvester>().InstancePerLifetimeScope();
|
builder.RegisterType<BasicShapeTemplateHarvester>().As<IShapeTemplateHarvester>().InstancePerLifetimeScope();
|
||||||
builder.Register(context => new ShapeAttributeBindingStrategy(
|
builder.RegisterType<ShapeAttributeBindingStrategy>().As<IShapeTableProvider>().InstancePerMatchingLifetimeScope("shell");
|
||||||
context.Resolve<IEnumerable<ShapeAttributeOccurrence>>(),
|
|
||||||
context.Resolve<IComponentContext>(),
|
|
||||||
context.Resolve<RouteCollection>())).As<IShapeTableProvider>().SingleInstance();
|
|
||||||
builder.RegisterModule(new ShapeAttributeBindingModule());
|
builder.RegisterModule(new ShapeAttributeBindingModule());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user