From 7e8e228155045c861e66e5671d0a1cd4d3604e9c Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 8 Apr 2026 12:36:12 +0200 Subject: [PATCH] feat(10-03): register Phase 10 services in DI container - Add BrandingRepository as Singleton with branding.json path - Add IBrandingService/BrandingService as Singleton - Add IGraphUserDirectoryService/GraphUserDirectoryService as Transient - 224 tests pass, 26 integration tests skipped (live Graph) --- SharepointToolbox/App.xaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SharepointToolbox/App.xaml.cs b/SharepointToolbox/App.xaml.cs index a9bb503..1557a06 100644 --- a/SharepointToolbox/App.xaml.cs +++ b/SharepointToolbox/App.xaml.cs @@ -77,6 +77,12 @@ public partial class App : Application "SharepointToolbox"); services.AddSingleton(_ => new ProfileRepository(Path.Combine(appData, "profiles.json"))); services.AddSingleton(_ => new SettingsRepository(Path.Combine(appData, "settings.json"))); + + // Phase 10: Branding Data Foundation + services.AddSingleton(_ => new BrandingRepository(Path.Combine(appData, "branding.json"))); + services.AddSingleton(); + services.AddTransient(); + services.AddSingleton(); services.AddSingleton(); services.AddSingleton(sp => sp.GetRequiredService());