

using CommonServiceLocator;
using Valg.EVA.Skanning.UserInterfaceElements.RoleSelector;
using Valg.EVA.Skanning.UserInterfaceElements.TopBar;

namespace Valg.EVA.Skanning.UserInterfaceElements
{
    public class ViewModelLocator
    {
        public TopBarViewModel TopBarViewModel => ServiceLocator.Current.GetInstance<TopBarViewModel>();

        public IChangeRoleButtonViewModel ChangeRoleButtonViewModel => ServiceLocator.Current.GetInstance<IChangeRoleButtonViewModel>();

        public IRoleSelectorViewModel RoleSelectorViewModel => ServiceLocator.Current.GetInstance<IRoleSelectorViewModel>();
    }
}
