public void ProcessToolAllEntities(PicTool tool) { foreach (PicEntity entity in _entities) { try { tool.ProcessEntity(entity); } catch (Exception ex) { _log.Error(ex.Message); } } }
public void ProcessTool(PicTool tool) { try { // TODO : might need to implement Undo/Redo feature in this function // process tool tool.ProcessFactory(this); } catch (Exception ex) { _log.Error(ex.Message); } }