using Valg.EVA.Skanning.UserInterfaceElements.Help;

namespace Valg.EVA.Skanning.UserInterfaceElements.EmergencyMode
{
    
    
    
    public partial class EmergencyModeLoginWindow : IHelpContributor
    {
        public EmergencyModeLoginWindow(IEmergencyModeLoginViewModel viewModel)
        {
            InitializeComponent();
            this.DataContext = viewModel;
            ViewModel = viewModel;
        }

        public Login.LoginWindowLoginResult Result
        {
            get { return ViewModel.Result; }
        }

        public IEmergencyModeLoginViewModel ViewModel { get; private set; }
        public string HelpContributionId { get { return HelpContributionIds.Nødmodus; } }
    }
}
