add keyed based publication to mediator

This commit is contained in:
TheXamlGuy
2024-01-18 20:56:14 +00:00
parent a3065b25ee
commit 78cedcdeb8
15 changed files with 151 additions and 87 deletions
@@ -49,7 +49,7 @@ public class WidgetComponentViewModelFactory(IServiceFactory service,
if (childViewModel is not null)
{
childViewModels.Add(childViewModel);
cache.Add(childViewModel.Id, childViewModel);
cache.Add(childCommandConfiguration.Id, childViewModel);
}
}
@@ -68,7 +68,7 @@ public class WidgetComponentViewModelFactory(IServiceFactory service,
if (viewModel is not null)
{
cache.Add(viewModel.Id, viewModel);
cache.Add(configuration.Id, viewModel);
}
return viewModel;