using Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.VerifiableViewModelsCollection;

namespace Valg.EVA.Skanning.Verify.Startup.VerifyBallotPaper.Messaging.Commands
{
    public class VerificationWasResolvedEventArgs
    {
        public VerificationWasResolvedEventArgs(IViewModelWithVerifiableContent viewModel, bool neededVerification)
        {
            ViewModel = viewModel;
            NeededVerification = neededVerification;
        }

        public VerificationWasResolvedEventArgs(IViewModelWithVerifiableContent viewModel, bool neededVerification, bool forceGotoNextViewModel)
            : this(viewModel, neededVerification)
        {
            ForceGotoNextViewModel = forceGotoNextViewModel;
        }

        public IViewModelWithVerifiableContent ViewModel { get; private set; }

        public bool ForceGotoNextViewModel { get; private set; }

        public bool NeededVerification { get; private set; }
    }
}
