Пример #1
0
        void ShowNextError()
        {
            if (errorList.Count - 1 > currentErrorIndex)
            {
                currentErrorIndex++;
            }
            else
            {
                currentErrorIndex = 0;
            }

            CurrentError = errorList.ElementAt(currentErrorIndex);

            RaiseErrorChanged?.Invoke();
        }
Пример #2
0
 public void RemoveError(ErrorItem error)
 {
     errorList.RemoveAll(item => item.Message == error.Message);
 }