feat(04-10): register Phase 4 DI + wire MainWindow tabs + TemplatesView
- App.xaml.cs: register TemplateRepository, GraphClientFactory, ICsvValidationService, BulkResultCsvExportService - App.xaml.cs: register BulkMemberService, BulkSiteService, ITemplateService, IFolderStructureService - App.xaml.cs: register all 5 Phase 4 ViewModels and Views (Transfer, BulkMembers, BulkSites, FolderStructure, Templates) - MainWindow.xaml: replace 3 FeatureTabBase stub tabs with 5 named TabItems (tab.transfer through tab.templates) - MainWindow.xaml.cs: wire all 5 new TabItem.Content from DI-resolved Views
This commit is contained in:
@@ -32,6 +32,13 @@ public partial class MainWindow : Window
|
||||
// Replace Duplicates tab placeholder with the DI-resolved DuplicatesView
|
||||
DuplicatesTabItem.Content = serviceProvider.GetRequiredService<DuplicatesView>();
|
||||
|
||||
// Phase 4: Replace stub tabs with DI-resolved Views
|
||||
TransferTabItem.Content = serviceProvider.GetRequiredService<TransferView>();
|
||||
BulkMembersTabItem.Content = serviceProvider.GetRequiredService<BulkMembersView>();
|
||||
BulkSitesTabItem.Content = serviceProvider.GetRequiredService<BulkSitesView>();
|
||||
FolderStructureTabItem.Content = serviceProvider.GetRequiredService<FolderStructureView>();
|
||||
TemplatesTabItem.Content = serviceProvider.GetRequiredService<TemplatesView>();
|
||||
|
||||
// Replace Settings tab placeholder with the DI-resolved SettingsView
|
||||
SettingsTabItem.Content = serviceProvider.GetRequiredService<SettingsView>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user