public void GetMemberInfosTest() { // 225 to 25 ms to5 for (int i = 0; i < MaxTime; i++) { var mem = CTRCHelper.GetMemberInfos <MethodModel>(); } }
public void GetMemberInfoTest() { // 225 to 25 ms to5 for (int i = 0; i < MaxTime; i++) { var mem = CTRCHelper.GetMemberInfos <MethodModel>().FirstOrDefault(c => c.Name == "Test1"); } }
public void GetDifferentMemberInfosTest() { var t = CTRCHelper.GetMemberInfos <MethodModel>(); Console.WriteLine(t); var t1 = CTRCHelper.GetMemberInfos <FieldModel>(); Console.WriteLine(t1); }
public void MemberCountTest() { var members = CTRCHelper.GetMemberInfos <MethodTestModel>(); foreach (var m in members) { Console.WriteLine(m.Name); } Assert.AreEqual(5, members.Length); }