HTML Limit

I would like to alter the html limits so that linqpad optionally uses a filestream and allows unlimited results on dump. I think using to display the results would help. Even if I reference Linqpad in a custom program, there isn't a way I can see to make it dump to html with unlimited results.


  • Simple sample to prove my point.

    <Extension()> Sub Dump(Of T)(objects As IEnumerable(Of T)) Dim pth As String = IO.Path.GetTempFileName & ".html" Using writer = LINQPad.Util.CreateXhtmlWriter(True) writer.Write(objects) My.Computer.FileSystem.WriteAllText(pth, writer.ToString, False) End Using Process.Start(pth) End Sub

    Sample use:

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim x = Enumerable.Range(0, Integer.MaxValue) x.Dump End Sub
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!