private void HandleSaveSuccess(SaveResult saveResult) { ShowToast(Severity.Info, string.Format("Saved {0} Todo(s)" + Environment.NewLine, saveResult.Entities.Count())); SelectedItem = null; QueryAllTodos(); }
private void LogSaveResult(SaveResult result) { var descs = String.Join(", ", result.Entities .Select(x => (x is TodoItem) ? (x as TodoItem).Description : "") .ToArray()); _logger.Info("Saved " + result.Entities.Count + " change(s): " + descs); }