Ejemplo n.º 1
0
 public DurationUtil(
     IUnitOfWorkFactory unitOfWorkFactory,
     IJsonUtil jsonUtil,
     INotificationSessionFactory notificationSessionFactory
     )
 {
     _unitOfWorkFactory          = unitOfWorkFactory;
     _jsonUtil                   = jsonUtil;
     _notificationSessionFactory = notificationSessionFactory;
 }
Ejemplo n.º 2
0
 public LootService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IAuthorizationUtil authorizationUtil,
     INotificationSessionFactory notificationSessionFactory,
     IItemService itemService
     )
 {
     _unitOfWorkFactory          = unitOfWorkFactory;
     _authorizationUtil          = authorizationUtil;
     _notificationSessionFactory = notificationSessionFactory;
     _itemService = itemService;
 }
Ejemplo n.º 3
0
        public void SetUp()
        {
            _unitOfWorkFactory          = new FakeUnitOfWorkFactory();
            _authorizationUtil          = Substitute.For <IAuthorizationUtil>();
            _notificationSessionFactory = Substitute.For <INotificationSessionFactory>();
            _itemService = Substitute.For <IItemService>();

            _service = new LootService(
                _unitOfWorkFactory,
                _authorizationUtil,
                _notificationSessionFactory,
                _itemService
                );
        }
Ejemplo n.º 4
0
 public MonsterService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IAuthorizationUtil authorizationUtil,
     IActiveStatsModifierUtil activeStatsModifierUtil,
     INotificationSessionFactory notificationSessionFactory,
     IJsonUtil jsonUtil,
     ITimeService timeService,
     IItemService itemService
     )
 {
     _unitOfWorkFactory          = unitOfWorkFactory;
     _authorizationUtil          = authorizationUtil;
     _activeStatsModifierUtil    = activeStatsModifierUtil;
     _notificationSessionFactory = notificationSessionFactory;
     _jsonUtil    = jsonUtil;
     _timeService = timeService;
     _itemService = itemService;
 }
Ejemplo n.º 5
0
 public GroupService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IAuthorizationUtil authorizationUtil,
     INotificationSessionFactory notificationSessionFactory,
     IMapper mapper,
     IDurationUtil durationUtil,
     IGroupUtil groupUtil,
     IGroupHistoryUtil groupHistoryUtil,
     IGroupConfigUtil groupConfigUtil
     )
 {
     _unitOfWorkFactory          = unitOfWorkFactory;
     _authorizationUtil          = authorizationUtil;
     _mapper                     = mapper;
     _notificationSessionFactory = notificationSessionFactory;
     _durationUtil               = durationUtil;
     _groupUtil                  = groupUtil;
     _groupHistoryUtil           = groupHistoryUtil;
     _groupConfigUtil            = groupConfigUtil;
 }
Ejemplo n.º 6
0
 public CharacterService(
     IUnitOfWorkFactory unitOfWorkFactory,
     ICharacterFactory characterFactory,
     IItemService itemService,
     IAuthorizationUtil authorizationUtil,
     ICharacterHistoryUtil characterHistoryUtil,
     IMapper mapper,
     ICharacterModifierUtil characterModifierUtil,
     INotificationSessionFactory notificationSessionFactory,
     ICharacterUtil characterUtil,
     IItemUtil itemUtil
     )
 {
     _unitOfWorkFactory    = unitOfWorkFactory;
     _characterFactory     = characterFactory;
     _itemService          = itemService;
     _authorizationUtil    = authorizationUtil;
     _characterHistoryUtil = characterHistoryUtil;
     _mapper = mapper;
     _characterModifierUtil      = characterModifierUtil;
     _notificationSessionFactory = notificationSessionFactory;
     _characterUtil = characterUtil;
     _itemUtil      = itemUtil;
 }