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