コード例 #1
0
 [TestInitialize] public void TestInitialize() {
     TestDataFactory.Init();
     layout = TestDataFactory.Layout();
     stretch = layout.TrackStretches.First();
     train = TestDataFactory.CreateTrain1();
     target = new TrackStretchCoordinator(stretch);
 }
コード例 #2
0
 public CancelTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
コード例 #3
0
 public RequestTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
コード例 #4
0
 public ArrivedTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
コード例 #5
0
 protected TrackStretchCommand(StationCall call, TrackStretch stretch) {
     if (stretch == null) throw new ArgumentNullException(nameof(stretch));
     if (call == null) throw new ArgumentNullException(nameof(call));
     Stretch = stretch;
     Call = call;
 }
コード例 #6
0
 public DepartureTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
コード例 #7
0
 public ConfirmTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }