public UnitExample(IAdmin adminContext, ICleaner cleanerContext, IDriver driverContext, IEngineer engineerContext, IFleetManager fleetManagerContext, ITram tramContext, IUser userContext) { this.adminContext = adminContext; this.cleanerContext = cleanerContext; this.driverContext = driverContext; this.engineerContext = engineerContext; this.fleetManagerContext = fleetManagerContext; this.tramContext = tramContext; this.userContext = userContext; }
public ShipController(ISessionManager sessionManager, IFleetManager fleetManager, IEmpireManager empireManager, IShips ships) { if (sessionManager == null) throw new ArgumentNullException(nameof(sessionManager)); if (fleetManager == null) throw new ArgumentNullException(nameof(fleetManager)); if (empireManager == null) throw new ArgumentNullException(nameof(empireManager)); if (ships == null) throw new ArgumentNullException(nameof(ships)); _sessionManager = sessionManager; _fleetManager = fleetManager; _empireManager = empireManager; _ships = ships; }
public TelemetryController(IFleetManager fleetManager) { this.fleetManager = fleetManager; }
public RobotsController(IFleetManager fleetManager, ILogger <RobotsController> logger) { this.fleetManager = fleetManager; this.logger = logger; }
public TelemetryEventProcessor(IFleetManager fleetManager, ILogger <TelemetryEventProcessor> logger) { this.fleetManager = fleetManager; this.logger = logger; }
public FleetManagerRepository(IFleetManager context) { this.context = context; }