Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 private ICommand addSimulationTransferToProject(SimulationTransfer simulationTransfer)
 {
     return(_simulationLoader.AddSimulationToProject(simulationTransfer));
 }