prevent creation of Lists and use IEnumerable where possible

This commit is contained in:
2014-05-01 17:56:18 +02:00
parent 36683c7402
commit 82896d6fb4
18 changed files with 118 additions and 166 deletions
@@ -5,6 +5,7 @@ using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Linq;
namespace PocketSharp.WP8.ViewModels
{
@@ -74,7 +75,7 @@ namespace PocketSharp.WP8.ViewModels
try
{
items = await client.Get();
items = (await client.Get()).ToList();
items.ForEach(item =>
{