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