Esempio n. 1
0
 public StopSimulationCommand(IInteractiveSimulationRunner simulationRunner)
 {
     _simulationRunner = simulationRunner;
 }
Esempio n. 2
0
 protected override void Context()
 {
     _simulationRunner       = A.Fake <IInteractiveSimulationRunner>();
     _activeSubjectRetriever = A.Fake <IActiveSubjectRetriever>();
     sut = new RunSimulationCommand(_simulationRunner, _activeSubjectRetriever);
 }
Esempio n. 3
0
 public RunSimulationCommand(IInteractiveSimulationRunner simulationRunner, IActiveSubjectRetriever activeSubjectRetriever, bool selectOutput = false) : base(activeSubjectRetriever)
 {
     _simulationRunner = simulationRunner;
     _selectOutput     = selectOutput;
 }
Esempio n. 4
0
 public RunSimulationWithSettingsCommand(IInteractiveSimulationRunner simulationRunner, IActiveSubjectRetriever activeSubjectRetriever) : base(simulationRunner, activeSubjectRetriever, true)
 {
 }
 protected override void Context()
 {
     _simulationRunner = A.Fake <IInteractiveSimulationRunner>();
     sut = new StopSimulationCommand(_simulationRunner);
 }