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
@@ -2,6 +2,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Windows;
using System.Linq;
namespace PocketSharp.Wpf
{
@@ -40,7 +41,7 @@ namespace PocketSharp.Wpf
try
{
items = await client.Get();
items = (await client.Get()).ToList();
items.ForEach(item =>
{