コード例 #1
0
 public GameBusiness(IGameDataAccess gameDataAccess, IUserGameDataAccess userGameDataAccess,
                     CacheDeleteHelper cacheDeleteHelper, IMapper mapper)
 {
     _gameDataAccess     = gameDataAccess;
     _userGameDataAccess = userGameDataAccess;
     _cacheDeleteHelper  = cacheDeleteHelper;
     _mapper             = mapper;
 }
コード例 #2
0
 public GameManager(
     IHubContext <GameViewHub,
                  IGameViewHub> gameViewHub,
     IServiceProvider serviceProvider,
     IGameDataAccess gameDataAccess,
     IGameVariantDataAccess gameVariantDataAccess,
     IOrganizationLogic organizationLogic,
     IHttpContextAccessor contextAccessor,
     IMapper mapper)
 {
     _GameViewHub           = gameViewHub;
     _GameDataAccess        = gameDataAccess;
     _GameVariantDataAccess = gameVariantDataAccess;
     _OrganizationLogic     = organizationLogic;
     _ContextAccessor       = contextAccessor;
     _ServiceProvider       = serviceProvider;
     _Mapper = mapper;
 }
コード例 #3
0
 public GameController(IGameDataAccess GameDataAccess, IUserDataAccess UserDataAccess)
 {
     gameDataAccess = GameDataAccess;
     userDataAccess = UserDataAccess;
     userGetter     = new UserGetter(userDataAccess);
 }
コード例 #4
0
ファイル: GameData.cs プロジェクト: DaVinci-98/PBgra
 /// <summary>
 /// Constructor creates <see cref="GameDataAccess"/> and <see cref="ProtDataAccess"/> objects.
 /// </summary>
 public GameData()
 {
     _gameDataAccess = new GameDataAccess();
     _protDataAccess = new ProtDataAccess();
 }
コード例 #5
0
 public GameService()
 {
     _GameDataAccess = new GameDataAccess();
 }
コード例 #6
0
 public GameController(IGameDataAccess gameDataAccess)
 {
     this._gameDataAccess = gameDataAccess;
 }
コード例 #7
0
 public PaymentService()
 {
     _PaymentDataAccess = new PaymentDataAccess();
     _GameDataAccess    = new GameDataAccess();
 }
コード例 #8
0
 public GameBLL(IGameDataAccess game, IExceptions exceptions)
 {
     gameDataAccess = game;
     ExceptionDA    = exceptions;
 }