Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ns8482e committed Sep 23, 2021
1 parent 1586fa0 commit 6a93cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ public static OrchardCoreBuilder AddDataStorage(this OrchardCoreBuilder builder)
.ConfigureServices(services =>
{
services.AddScoped<IShellDescriptorManager, ShellDescriptorManager>();
services.AddScoped<IShellFeaturesManager, ShellFeaturesManager>();
services.AddScoped<IShellDescriptorFeaturesManager, ShellDescriptorFeaturesManager>();
});

return builder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ private static void AddExtensionServices(OrchardCoreBuilder builder)
builder.ConfigureServices(services =>
{
services.AddExtensionManager();
services.AddScoped<IShellFeaturesManager, ShellFeaturesManager>();
services.AddScoped<IShellDescriptorFeaturesManager, ShellDescriptorFeaturesManager>();
});
}

Expand Down

0 comments on commit 6a93cc8

Please sign in to comment.