Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想自动检测 .NET 程序集,以便记录对某些函数的调用和返回的结果,作为从整个系统测试创建单元测试的一种方式。
这怎么可能实现?
听起来您在描述Pex,它确实支持 F#(尽管我看到一些帖子表明它有时会与 F# 与 C# 或 VB 混淆)。
实际上,PostSharp听起来可以用来实现更接近您所描述的内容。
This is probably easy for someone more experienced with LINQ and the Lambda expressions in C#. I'm just starting out with them, so I must be missing something.
I have a custom object like