public DareController(Program program, IRemover remover) { Contract.Requires(program != null); Program = program; if (!IsProgramValid()) throw new NotValidException(); var removalTypeFinder = new RemovableTypeFinder(program); AllRemovableTypes = removalTypeFinder.FindRemovables(); Remover = remover; }
public DareController(Program program, IRemover remover) { Contract.Requires(program != null); Program = program; if (!IsProgramValid()) { throw new NotValidException(); } var removalTypeFinder = new RemovableTypeFinder(program); AllRemovableTypes = removalTypeFinder.FindRemovables(); Remover = remover; }