public void ReSetGuesses() { Translations.ForEach(fe => { fe.IsGuessed = false; }); js.InvokeVoidAsync("Web.saveToStorage", "translations", JsonConvert.SerializeObject(Translations)); NotifyReStart(); IncorrectGuesses = 0; }
public void Flip() { Translations.ForEach(t => { var copy = t.Clone(); t.From = copy.To; t.To = copy.From; }); }