chore(di): register ContentBlueprintManager as scoped service

Phase 7: Internal blueprint manager with scoped lifetime.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-24 16:15:56 +00:00
parent 5baa5def13
commit 9be4f0d50d

View File

@@ -305,6 +305,8 @@ namespace Umbraco.Cms.Core.DependencyInjection
Services.AddUnique<IContentPublishOperationService, ContentPublishOperationService>();
// Phase 6: Internal permission manager (AddScoped, not AddUnique, because it's internal without interface)
Services.AddScoped<ContentPermissionManager>();
// Phase 7: Internal blueprint manager (AddScoped, not AddUnique, because it's internal without interface)
Services.AddScoped<ContentBlueprintManager>();
Services.AddUnique<IContentService>(sp =>
new ContentService(
sp.GetRequiredService<ICoreScopeProvider>(),