弹来弹去跑马灯!

摘要: public interface IService { void DoSomething(ref string a); void DoSomething2(out string a); } [TestMethod] public void TestRefPara() { var service = 阅读全文
posted @ 2021-06-09 17:35 wgscd 阅读(135) 评论(0) 推荐(0)
摘要: 测试: public class UnitTest1 { [TestMethod] public void TestMethod1() { Mock<TestClass> moc = new Mock<TestClass>(); moc.Setup(x => x.GetItem(It.IsAny<i 阅读全文
posted @ 2021-06-09 15:37 wgscd 阅读(7441) 评论(0) 推荐(0)