Пример #1
0
 /// <summary>
 /// 可执行串的构造函数
 /// </summary>
 /// <param name="item">可执行字符串项</param>
 /// <param name="extraAssemblies">第三方程序集</param>
 /// <param name="extraNamespaces">第三方命名空间</param>
 public MyEvaluator(EvaluatorItem item, string[] extraAssemblies, string[] extraNamespaces) :
     this(new EvaluatorItem[] { item }, extraAssemblies, extraNamespaces)
 {
 }
Пример #2
0
 /// <summary>
 /// 可执行串的构造函数
 /// </summary>
 /// <param name="item">可执行字符串项</param>
 public MyEvaluator(EvaluatorItem item) :
     this(new EvaluatorItem[] { item })
 {
 }