using ModuleA.Views;

namespace ModuleA;

public class ModuleAModule : IModule
{
    private readonly IRegionManager _regionManager;

    public ModuleAModule(IRegionManager regionManager)
    {
        _regionManager = regionManager;
    }

    public void RegisterTypes(IContainerRegistry containerRegistry)
    {
        containerRegistry.RegisterForNavigation<ViewA>();
        containerRegistry.RegisterForNavigation<ViewB>();
    }

    public void OnInitialized(IContainerProvider containerProvider)
    {
        //_regionManager.RegisterViewWithRegion<ViewA>("ContentRegion");
        //_regionManager.RequestNavigate("ContentRegion", "ViewA");
    }
}
