コード例 #1
0
ファイル: FormMain.cs プロジェクト: softpsyche/Chess
 public FormMain(IGameFactory gameFactory, IArtificialIntelligence artificialIntelligence, IMatchFactory matchFactory)
 {
     InitializeComponent();
     _gameFactory            = gameFactory;
     _artificialIntelligence = artificialIntelligence;
     _matchFactory           = matchFactory;
 }
コード例 #2
0
 public WarController(IMapper mapper, IRankingService rankingService, IWarRepository warRepo, IMatchFactory matchFactory, IMatchRepository matchRepository, IContestantRepository contestantRepository, IUserRepository userRepository, IVoteRepository voteRepository)
 {
     _mapper               = mapper;
     _rankingService       = rankingService;
     _warRepo              = warRepo;
     _matchFactory         = matchFactory;
     _matchRepository      = matchRepository;
     _contestantRepository = contestantRepository;
     _userRepository       = userRepository;
     _voteRepository       = voteRepository;
 }
コード例 #3
0
ファイル: Game.cs プロジェクト: ceresnik/CodingArena
 public Game(IMatchFactory matchFactory)
 {
     MatchFactory = matchFactory;
 }