Exemplo n.º 1
0
 public void destroy()
 {
     if (rezf != null)
     {
         todestroy = true;
     }
     rez   = null;
     valid = false;
 }
Exemplo n.º 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);
     }
 }