Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="App"/> class.
 /// </summary>
 /// <param name="landingAreaService">The landing area service.</param>
 /// <param name="platformService">The platform service.</param>
 /// <param name="rocketService">The rocket service.</param>
 public App(ILandingAreaService landingAreaService, IPlatformService platformService, IRocketService rocketService, IPositionService positionService)
 {
     _landingAreaService = landingAreaService;
     _platformService    = platformService;
     _rocketService      = rocketService;
     _positionService    = positionService;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RocketController"/> class.
 /// </summary>
 /// <param name="landingAreaService">The landing area service.</param>
 /// <param name="platformService">The platform service.</param>
 public RocketController(ILandingAreaService landingAreaService, IPlatformService platformService, IPositionService positionService)
 {
     _landingAreaService = landingAreaService;
     _platformService    = platformService;
     _positionService    = positionService;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlatformController"/> class.
 /// </summary>
 /// <param name="positionService">The position service.</param>
 public PlatformController(IPositionService positionService, ILandingAreaService landingAreaService)
 {
     _positionService    = positionService;
     _landingAreaService = landingAreaService;
 }