4

Is there a way to capture the content of the results panel in LINQPad; that is to say, capture it programatically and e.g. save it to a file?

Bent Rasmussen
  • 5,538
  • 9
  • 44
  • 63
  • What's your scenario? Presumably you're aware that the output is HTML? – Joe Albahari Apr 27 '11 at 11:41
  • I am running a bunch of tests and would like to dump the test results to (X)HTML files. It's not a huge deal though, as I could just create an interceptor function, e.g. Dump2 which delegates to Dump, as well as outputting to a file. Still, it'd be a nice addition to LINQPad. – Bent Rasmussen Apr 27 '11 at 12:31

1 Answers1

1

Check out LINQPad's extension methods. Here's a good Stack Overflow question on it:

LINQPad [extension] methods

Community
  • 1
  • 1
Dinah
  • 52,922
  • 30
  • 133
  • 149