예제 #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);
 }