public void Visit(IMoBiSimulation simulation) { var command = new MoBiMacroCommand { CommandType = AppConstants.Commands.AddCommand, ObjectType = ObjectTypes.Simulation, Description = AppConstants.Commands.AddToProjectDescription(ObjectTypes.Simulation, simulation.Name) }; command.Add(_simulationLoader.AddSimulationToProject(simulation)); addCommand(command); }
private ICommand addSimulationTransferToProject(SimulationTransfer simulationTransfer) { return(_simulationLoader.AddSimulationToProject(simulationTransfer)); }