namespace Valg.EVA.Skanning.UserInterfaceElements.Spinner
{
    public class SpinnerEventArgs : System.EventArgs
    {
        public SpinnerEventArgs(bool showSpinner)
        {
            ShowSpinner = showSpinner;
        }

        public SpinnerEventArgs(bool showSpinner, string spinnerToolTip, string message, bool blocking = true)
            : this(showSpinner)
        {
            SpinnerToolTip = spinnerToolTip;
            Message = message;
            Blocking = blocking;
        }

        public bool ShowSpinner { get; private set; }

        public string SpinnerToolTip { get; private set; }

        public string Message { get; private set; }
        public bool Blocking { get; private set; }
    }
}
