예제 #1
0
 public DialogueLogic(IConditionRepository conditionRepository, IMonitor logger, IWrapperFactory factory)
 {
     _factory             = factory;
     _conditionRepository = conditionRepository;
     _logger      = logger;
     _gameWrapper = _factory.CreateInstance <IGameWrapper>();
 }
예제 #2
0
 public ConditionService(IConditionRepository conditionRepository, IUnitOfWork uow
                         , IEmployeeRepository employeeRepository)
 {
     _conditionRepository = conditionRepository;
     _uow = uow;
     _employeeRepository = employeeRepository;
 }
예제 #3
0
 public GameAppService(IUnitOfWorkManager uowManager,
                       IGameRepository gameRepository,
                       IGameStatusRepository gameStatusRepository,
                       IGameTaskRepository gameTaskRepository,
                       IConditionRepository conditionRepository,
                       ITipRepository tipRepository,
                       ICityQuestRepositoryBase <PlayerGameTaskStatistic, long> playerGameTaskStatisticRepository,
                       ICityQuestRepositoryBase <TeamGameTaskStatistic, long> teamGameTaskStatisticRepository,
                       ICityQuestRepositoryBase <PlayerGameStatistic, long> playerGameStatisticRepository,
                       ICityQuestRepositoryBase <TeamGameStatistic, long> teamGameStatisticRepository,
                       IGamePolicy gamePolicy,
                       IGameChangesNotifier gameChangesNotifier,
                       IStatisticsChangesNotifier statisticsChangesNotifier,
                       GameImageManager gameImageSaver)
 {
     UowManager           = uowManager;
     GameRepository       = gameRepository;
     GameStatusRepository = gameStatusRepository;
     GameTaskRepository   = gameTaskRepository;
     ConditionRepository  = conditionRepository;
     TipRepository        = tipRepository;
     PlayerGameTaskStatisticRepository = playerGameTaskStatisticRepository;
     TeamGameTaskStatisticRepository   = teamGameTaskStatisticRepository;
     PlayerGameStatisticRepository     = playerGameStatisticRepository;
     TeamGameStatisticRepository       = teamGameStatisticRepository;
     GamePolicy                = gamePolicy;
     GameChangesNotifier       = gameChangesNotifier;
     StatisticsChangesNotifier = statisticsChangesNotifier;
     GameImageSaver            = gameImageSaver;
 }
예제 #4
0
 public GameLightAppService(
     IUnitOfWorkManager uowManager,
     ICityQuestSession session,
     IUserRepository userRepository,
     IGameRepository gameRepository,
     ICityQuestRepositoryBase <PlayerGameTaskStatistic, long> playerGameTaskStatisticRepository,
     ICityQuestRepositoryBase <TeamGameTaskStatistic, long> teamGameTaskStatisticRepository,
     IConditionRepository conditionRepository,
     ISuccessfullPlayerAttemptRepository successfullPlayerAttemptRepository,
     IUnsuccessfullPlayerAttemptRepository unsuccessfullPlayerAttemptRepository,
     IKeyRepository keyRepository,
     IGamePolicy gamePolicy,
     IStatisticsChangesNotifier statisticsChangesNotifier)
 {
     UowManager     = uowManager;
     Session        = session;
     UserRepository = userRepository;
     GameRepository = gameRepository;
     PlayerGameTaskStatisticRepository = playerGameTaskStatisticRepository;
     TeamGameTaskStatisticRepository   = teamGameTaskStatisticRepository;
     ConditionRepository = conditionRepository;
     SuccessfullPlayerAttemptRepository   = successfullPlayerAttemptRepository;
     UnsuccessfullPlayerAttemptRepository = unsuccessfullPlayerAttemptRepository;
     KeyRepository             = keyRepository;
     GamePolicy                = gamePolicy;
     StatisticsChangesNotifier = statisticsChangesNotifier;
 }
예제 #5
0
 public LevelConditionService(ILevelConditionRepository levelConditionRepository, ILevelRepository levelRepository,
                              IConditionRepository conditionRepository, IUnitOfWork uow
                              , IEmployeeRepository employeeRepository)
     : this(levelConditionRepository, uow)
 {
     this._conditionRepository = conditionRepository;
     this._levelRepository     = levelRepository;
     _employeeRepository       = employeeRepository;
 }
예제 #6
0
 public BookController(IBookRepository repo, ICategoryRepository categoryRepo,
                       IFileRepository fileRepo, UserManager <AppUser> userManagerRepo,
                       IConditionRepository conditionRepo, IAdvertisementRepository advertisementRepo)
 {
     repository                    = repo;
     categoryRepository            = categoryRepo;
     this._fileRepository          = fileRepo;
     this._userManager             = userManagerRepo;
     this._conditionRepository     = conditionRepo;
     this._advertisementRepository = advertisementRepo;
 }
예제 #7
0
 public ConditionAppService(IUnitOfWorkManager uowManager,
                            IConditionRepository conditionRepository,
                            IGameTaskRepository gameTaskRepository,
                            IConditionPolicy conditionPolicy,
                            IGamePolicy gamePolicy)
 {
     UowManager          = uowManager;
     ConditionRepository = conditionRepository;
     GameTaskRepository  = gameTaskRepository;
     ConditionPolicy     = conditionPolicy;
     GamePolicy          = gamePolicy;
 }
 public ConditionService(IConditionRepository conditionRepository)
 {
     _conditionRepository = conditionRepository;
 }
 public ConditionDb(CyberTrainingContext context)
 {
     db = new ConditionRepository(context);
 }
예제 #10
0
 public ConditionController(IConditionRepository conditionRepo,
                            ICategoryRepository categoryRepository)
 {
     this._conditionRepository = conditionRepo;
     this._categoryRepository  = categoryRepository;
 }
예제 #11
0
 public GetConditionsQueryHandler(IMapper mapper, IConditionRepository conditionRepository)
 {
     _mapper = mapper;
     _conditionRepository = conditionRepository;
 }
 public ConditionService(IConditionRepository _iConditionRepository)
 {
     iConditionRepository = _iConditionRepository;
 }
 public SaveRecordsController(IAlarmRepository alarm, IConditionRepository condition)
 {
     _alarmRepository     = alarm;
     _conditionRepository = condition;
 }
예제 #14
0
 public DialogueApi(IConditionRepository repository) => _repository = repository;
예제 #15
0
 public ConditionController(IConditionRepository conditionRepository, IUserProfileRepository userProfileRepository)
 {
     _conditionRepository   = conditionRepository;
     _userProfileRepository = userProfileRepository;
 }
 public ConditionManager()
 {
     _IRepository = new ConditionRepository();
 }