Settings and activity
5 results found
-
33 votesMarkus Jarderot supported this idea ·
-
154 votesMarkus Jarderot supported this idea ·
-
52 votesMarkus Jarderot supported this idea ·
-
6 votes
An error occurred while saving the comment Markus Jarderot shared this idea · -
4 votes
An error occurred while saving the comment Markus Jarderot commentedUsing the current beta:
public static IList<T> Dump2<T>(this IEnumerable<T> items)
{
var collected = new List<T>();
var container = new DumpContainer();
container.Dump();
container.Content = collected;
foreach (var item in items)
{
collected.Add(item);
container.Refresh();
}
return collected;
}and then
Enumerable.Range(0, 10).Select(i =>
{
Thread.Sleep(1000);
return i;
}).Dump2();
Or more appropriately, the full filename of the .linq-file:
#line 1 "C:\Users\Markus\Documents\LINQPad Queries\MyQuery.linq"