public SolarSystemService(ISolarSystemRepository repository, ISolarSystemValidator solarSystemValidator, IPlanetRepository planetRepository) { _repository = repository; _solarSystemValidator = solarSystemValidator; _planetRepository = planetRepository; }
public PlanetService(IPlanetRepository repository, IPlanetValidator planetValidator, ISolarSystemRepository solarSystemRepository, IHttpClientFactory clientFactory) { _repository = repository; _planetValidator = planetValidator; _solarSystemRepository = solarSystemRepository; _clientFactory = clientFactory; }
/// <summary> /// Initializes a new instance of the <see cref="Game"/> class. /// </summary> /// <param name="playerRepository"> /// The player repository. /// </param> /// <param name="galaxyRepository"> /// The galaxy repository. /// </param> /// <param name="galaxySettingsRepository"> /// The Galaxy Settings repository. /// </param> /// <param name="solarSystemRepository"> /// The solar system repository. /// </param> /// <param name="planetRepository"> /// The planet repository. /// </param> /// <param name="spatialEntityRepository"> /// The entity repository. /// </param> public Game( IPlayerRepository playerRepository, IGalaxyRepository galaxyRepository, IGalaxySettingsRepository galaxySettingsRepository, ISolarSystemRepository solarSystemRepository, IPlanetRepository planetRepository, ISpatialEntityRepository spatialEntityRepository) { this.playerRepository = playerRepository; this.galaxyRepository = galaxyRepository; this.galaxySettingsRepository = galaxySettingsRepository; this.solarSystemRepository = solarSystemRepository; this.planetRepository = planetRepository; this.spatialEntityRepository = spatialEntityRepository; }
public PlanetService(ILogger <PlanetService> logger, IPlanetRepository repository, ISolarSystemRepository solarSystemService) { m_logger = logger; m_repository = repository; m_solarSystemService = solarSystemService; }
public SolarSystemService(ISolarSystemRepository repository, ILogger <SolarSystemService> logger) { m_repository = repository; m_logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="Game"/> class. /// </summary> /// <param name="playerRepository"> /// The player repository. /// </param> /// <param name="galaxyRepository"> /// The galaxy repository. /// </param> /// <param name="galaxySettingsRepository"> /// The Galaxy Settings repository. /// </param> /// <param name="solarSystemRepository"> /// The solar system repository. /// </param> /// <param name="planetRepository"> /// The planet repository. /// </param> /// <param name="spatialEntityRepository"> /// The entity repository. /// </param> public Game( IPlayerRepository playerRepository, IGalaxyRepository galaxyRepository, IGalaxySettingsRepository galaxySettingsRepository, ISolarSystemRepository solarSystemRepository, IPlanetRepository planetRepository, ISpatialEntityRepository spatialEntityRepository) { this.playerRepository = playerRepository; this.galaxyRepository = galaxyRepository; this.galaxySettingsRepository = galaxySettingsRepository; this.solarSystemRepository = solarSystemRepository; this.planetRepository = planetRepository; this.spatialEntityRepository = spatialEntityRepository; }