示例#1
0
 public void destroy()
 {
     if (rezf != null)
     {
         todestroy = true;
     }
     rez   = null;
     valid = false;
 }
示例#2
0
 public RezolveFile(Assembly assm, String name, Action <Exception> __exceptf)
 {
     exceptf = __exceptf;
     try {
         rez            = assm.CreateInstance(name) as Rezolve;
         rezf           = new RezFactory();
         rez.rezFactory = rezf;
         valid          = true;
     }
     catch (Exception exc) {
         destroy();
         __exceptf(exc);
     }
 }