void ShowNextError() { if (errorList.Count - 1 > currentErrorIndex) { currentErrorIndex++; } else { currentErrorIndex = 0; } CurrentError = errorList.ElementAt(currentErrorIndex); RaiseErrorChanged?.Invoke(); }
public void RemoveError(ErrorItem error) { errorList.RemoveAll(item => item.Message == error.Message); }