public MainWindow(IProcessGame processGame, IPlayService playService) { _processGame = processGame; _playService = playService; InitializeComponent(); }
public PlayController( IPlayService playService, IMapper mapper) { this.playService = playService; this.mapper = mapper; }
public GameService(IPlayParser playReader, GameRepo gameRepo, PlayerRepo playerRepo, IUserService userRepo, IPlayService playerService) { _gameRepo = gameRepo; _playerRepo = playerRepo; _userRepo = userRepo; _playReader = playReader; _playsService = playerService; }
public void Setup() { _playerOne = new Player { Name = "Player", PlayerType = PlayerType.Player }; _playerTwo = new Player { Name = "Computer", PlayerType = PlayerType.Computer }; _playService = new PlayService(); }
public NowPlayingViewModel(IPlayService playService) { this.playService = playService; this.timer = new DispatcherTimer(); this.timer.Interval = TimeSpan.FromMilliseconds(500); this.timer.Tick += TimerTick; this.StopCommand = new RelayCommand(Stop); this.PlayPauseCommand = new RelayCommand(PlayPause, CanPlayPause); this.NextCommand = new RelayCommand(Next, CanNext); MessengerInstance.Register<PlayEpisodeMessage>(this, message => PlayEpisode(message.Episode)); }
public NowPlayingViewModel(IPlayService playService) { this.playService = playService; this.timer = new DispatcherTimer(); this.timer.Interval = TimeSpan.FromMilliseconds(500); this.timer.Tick += TimerTick; this.StopCommand = new RelayCommand(Stop); this.PlayPauseCommand = new RelayCommand(PlayPause, CanPlayPause); this.NextCommand = new RelayCommand(Next, CanNext); MessengerInstance.Register <PlayEpisodeMessage>(this, message => PlayEpisode(message.Episode)); }
public void Setup() { _playerOne = new Player { Name = "Computer 1", PlayerType = PlayerType.Computer }; _playerTwo = new Player { Name = "Computer 2", PlayerType = PlayerType.Computer }; _playService = new PlayService(); }
public void Setup() { this.playService = this.Scope.Resolve <IPlayService>(); this.gameService = this.Scope.Resolve <IGameService>(); }
public void Cleanup() { _playerOne = null; _playerTwo = null; _playService = null; }
public PlayController(IGameService gameService, IPlayService playService) { this.gameService = gameService; this.playService = playService; }
public GameController(IPlayService playService) { this._playService = playService; }
public PlaysController(IPlayService playService) { _playService = playService; }
public GameHub(IPlayService playDataService) { this._playDataService = playDataService; }
public TerminalTasks(IPlayService playService, IStateService stateService, ICacheManager cacheManager) { this.cacheManager = cacheManager.notNull(); this.playService = playService.notNull(); this.stateService = stateService.notNull(); }
public PodcastDetailsViewModel(IPlayService nowPlayingService) { this.playService = nowPlayingService; }
public MainMenu(IProcessGameFactory processGameFactory, IPlayService playService) { _processGameFactory = processGameFactory; _playService = playService; InitializeComponent(); }
public void Setup() { this.playService = this.Scope.Resolve<IPlayService>(); this.gameService = this.Scope.Resolve<IGameService>(); }
public void RegisterService(IPlayService service) { _service = service; }
protected new void Init() { base.Init(); _playService = _diResolver.Resolve <IPlayService>(); }
public PlayController(IUnitOfWork unitOfWork, IMapper mapper, IGameService gameService, IPlayService playService) : base(unitOfWork, mapper) { this.gameService = gameService; this.playService = playService; }
public GameController(IRepository <Customer> customerRepository, IGameRepository gameRepository, IPlayService playService) { _customerRepository = customerRepository; _gameRepository = gameRepository; _playService = playService; }