gpt4 book ai didi

linqpad - 如何增加 LINQPad 中图形的限制?

转载 作者:行者123 更新时间:2023-12-03 20:43:50 26 4
gpt4 key购买 nike

LINQPad 中显示的结果是有限的。如果对象嵌套很深,则会显示一条红线。
我想增加一个限制,这样我就可以看到更多的嵌套对象。

你知道怎么做吗? (我在选项中没有找到。)

Background not in the original question: LINQPad will display of "limit of graph" error message if the total output exceeds a certain threshold (total page size). The suggested answers are addressing how to limit the depth of the individually dumped object graphs, which may help avoiding hitting the total size limit. It does not, however, increase the "limit of graph", which is what OP is asking.

最佳答案

充实@lioil的答案:
Dump的重载包括:

T Dump<T>(this T o); //Dump the object and return it (for fluency)
T Dump<T>(this T o, string description); //Dump with label
T Dump<T>(this T o, int maximumDepth); //Dump with given maximum depth
T Dump<T>(this T o, string description, int maximumDepth); //Combine the above

您正在寻找第三种或第四种选择。

关于linqpad - 如何增加 LINQPad 中图形的限制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2944421/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com