Exemple #1
0
 public ClubService(IHttpClientFactory clientFactory, IConfiguration configuration, IMapper mapper, /*PingDbContext dbcontext, */ EfService efService, QueryService queryService, IOrganismeService organismeService, ElasticService elastic, IJoueurService joueurService) : base(clientFactory, configuration, mapper, /*dbcontext,*/ efService)
 {
     QueryService     = queryService;
     OrganismeService = organismeService;
     _elastic         = elastic;
     JoueurService    = joueurService;
 }
 public Startup
 (
     IConfiguration configuration,
     IDeplacementService DeplacementService,
     IPartieService PartieService,
     IPersonnageJoueurService PersonnageJoueurService,
     IAttaqueService AttaqueService,
     IParametrageService ParametrageService,
     IPositionService PositionService,
     IJoueurService JoueurService,
     IPNJService PNJService,
     ITourService TourService
 )
 {
     Configuration       = configuration;
     _deplacementService = DeplacementService;
     _partieService      = PartieService;
     _personnageService  = PersonnageJoueurService;
     _attaqueService     = AttaqueService;
     _parametrageService = ParametrageService;
     _positionService    = PositionService;
     _joueurService      = JoueurService;
     _pNJService         = PNJService;
     _tourService        = TourService;
 }
 public GestionnaireWebSocket()
 {
     joueurService = new JoueurService(new JoueurRepository());
     salonService  = new SalonService(new SalonRepository());
 }
 public SalonsController()
 {
     joueurService = new JoueurService(new JoueurRepository());
     salonService  = new SalonService(new SalonRepository());
 }
 public GestionnaireHttp()
 {
     joueurService = new JoueurService(new JoueurRepository());
     salonService  = new SalonService(new SalonRepository());
 }
 public MvcApplication()
 {
     joueurService = new JoueurService(new JoueurRepository());
 }
Exemple #7
0
 public JoueursController(/*PingDbContext context,*/ IJoueurService service, PointService pointsService, IClubService clubService) : base(/*context*/)
 {
     Service       = service;
     PointsService = pointsService;
     ClubService   = clubService;
 }