mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 03:58:13 +08:00
#17757: Fixing multi-tenancy when more than one tenant
Work Items: 17757 --HG-- branch : 1.x
This commit is contained in:
@@ -77,6 +77,8 @@ namespace Orchard.Setup {
|
|||||||
builder.RegisterType<RecipeHarvester>().As<IRecipeHarvester>().InstancePerLifetimeScope();
|
builder.RegisterType<RecipeHarvester>().As<IRecipeHarvester>().InstancePerLifetimeScope();
|
||||||
builder.RegisterType<RecipeParser>().As<IRecipeParser>().InstancePerLifetimeScope();
|
builder.RegisterType<RecipeParser>().As<IRecipeParser>().InstancePerLifetimeScope();
|
||||||
|
|
||||||
|
builder.RegisterType<DefaultCacheHolder>().As<ICacheHolder>().InstancePerLifetimeScope();
|
||||||
|
|
||||||
// in progress - adding services for display/shape support in setup
|
// in progress - adding services for display/shape support in setup
|
||||||
builder.RegisterType<DisplayHelperFactory>().As<IDisplayHelperFactory>();
|
builder.RegisterType<DisplayHelperFactory>().As<IDisplayHelperFactory>();
|
||||||
builder.RegisterType<DefaultDisplayManager>().As<IDisplayManager>();
|
builder.RegisterType<DefaultDisplayManager>().As<IDisplayManager>();
|
||||||
|
|||||||
Reference in New Issue
Block a user