Пример #1
0
 /// <summary>
 /// 确定actual的数据类型,是否与expected类型匹配
 /// </summary>
 /// <param name="actual"></param>
 /// <param name="expected"></param>
 /// <param name="permitNull"></param>
 public static void IsAssignable(StackItem actual, Type expected, bool permitNull)
 {
     IsAssignable(actual, new StackItem(expected), permitNull);
 }
Пример #2
0
 public static void AreEqual(StackItem actual, Type expected)
 {
     AreEqual(actual, new StackItem(expected));
 }