Exemplo n.º 1
0
 /// <summary>
 /// 精准获取动态类
 /// </summary>
 /// <param name="classIndex">类索引,1开始</param>
 /// <param name="namespaceIndex">命名空间索引,1开始</param>
 /// <returns></returns>
 public Type GetType(int classIndex = 1, int namespaceIndex = 1)
 {
     return(RuntimeComplier.GetClassType(Builder().Script, classIndex, namespaceIndex));
 }
Exemplo n.º 2
0
 public Type GetStructType(string content, int classIndex = 1, int namespaceIndex = 1)
 {
     //获取类型
     return(RuntimeComplier.GetStructType(content, classIndex, namespaceIndex));
 }