コード例 #1
0
        public BaseViewModel WithAlert(string message, AlertType type = AlertType.Info)
        {
            Alert = new Alert(type, message);
            Alertify.Clear();

            return(this);
        }
コード例 #2
0
        public BaseViewModel WithAlert()
        {
            Alert = Alertify.Alert;

            Alertify.Clear();

            return(this);
        }
コード例 #3
0
        public virtual ErrorBaseViewModel WithError()
        {
            Error = ErrorWriter.Error;
            Alert = Alertify.Alert;

            ErrorWriter.Clear();
            Alertify.Clear();

            return(this);
        }
コード例 #4
0
 public void Dispose()
 {
     Alertify.Clear();
 }