支持可选参数和.NET 4.0 C#的嘲弄框架可选、框架、参数、NET

2023-09-04 08:04:02 作者:云朵上de歌

有没有嘲弄框架存在对C#开始支持.NET 4.0和C#完全。具体而言,我正在寻找它支持可选参数。

Is there a mocking framework that exists for C# that supports .Net 4.0 and C# completely. Specifically, I'm looking for it to support optional parameters.

推荐答案

我居然能找到 NSubstitute 它做了我所需要的。

I was actually able to find NSubstitute and it did what I need.