Example #1
0
 public CompetitionsController(ICompetitionsService competitionsService, IUsersService usersService, IAchievementsService achievementsService, ITimesService timesService)
 {
     this.competitionsService = competitionsService;
     this.usersService        = usersService;
     this.achievementsService = achievementsService;
     this.timesService        = timesService;
 }
Example #2
0
 public ChallengesController(IChallengesService challengesService,
                             Lazy <UserManager <IdentityUser> > userManager,
                             IAchievementsService achievementsService)
 {
     this.challengesService   = challengesService;
     this.userManager         = userManager;
     this.achievementsService = achievementsService;
 }
        public ProfileViewModel(IAchievementsService achievementsService, IFriendsService friendsService)
        {
            _achievementsService = achievementsService;
            _friendsService      = friendsService;

            Achievements = new ObservableCollection <AchievementsModel>();
            Friends      = new ObservableCollection <FriendModel>();
        }
Example #4
0
 public FlyingController(
     IAchievementRepository achievementRepository,
     ICharacterAchievementRepository characterAchievementRepository)
 {
     _achievementRepository          = achievementRepository;
     _characterAchievementRepository = characterAchievementRepository;
     _achievementsService            = new AchievementsService(_achievementRepository);
 }
 public AchievementsController(IAchievementsService achievementsService,
                               IItemsService itemsService,
                               AuthorizerService authorizerService)
 {
     _achievementsService = achievementsService;
     _itemsService        = itemsService;
     _authorizerService   = authorizerService;
 }
Example #6
0
 public Editor(IAuthenticationService authService,
               IDrawingService drawingService,
               IAchievementsService achievementsService,
               IToastsService toastsService,
               IExportService exportService)
 {
     AuthService         = authService;
     DrawingService      = drawingService;
     AchievementsService = achievementsService;
     ToastsService       = toastsService;
     ExportService       = exportService;
 }
 public DungeonsController(IDungeonsService dungeonsService,
                           IAchievementsService achievementsService,
                           IItemsService itemsService,
                           INPCsService NPCsService,
                           AuthorizerService authorizerService)
 {
     _dungeonsService     = dungeonsService;
     _authorizerService   = authorizerService;
     _achievementsService = achievementsService;
     _itemsService        = itemsService;
     _NPCsService         = NPCsService;
 }
Example #8
0
 public DrawingService(IAuthenticationService authService,
                       IDatabaseService databaseService,
                       ICacheService cache,
                       ILogger logger,
                       IAchievementsService achievementsService,
                       IStorageService storageService)
 {
     AuthService         = authService;
     DatabaseService     = databaseService;
     Logger              = logger;
     AchievementsService = achievementsService;
     Cache          = cache;
     StorageService = storageService;
 }
        public AchievementsManager(IAchievementsService achievementsService, ISettingsManager settingsManager, IPersistenceManager persistenceManager, IEventAggregator eventAggregator)
        {
            _settingsManager = settingsManager;
            _persistenceManager = persistenceManager;
            _achievementsService = achievementsService;
            _eventAggregator = eventAggregator;

            eventAggregator.Subscribe<LoggedOnEvent>((ev) =>
                {
                    SynchronizeAchievementDefinitions();
                    SynchronizeAchievementState();
                });

            eventAggregator.Subscribe<EmulatorStartingEvent>(EmulatorStarting);
        }
 public AchievementsController(IAchievementsService achievementsService)
 {
     this.achievementsService = achievementsService;
 }
 public MyAccountController(IServiceLocator serviceLocator)
 {
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
     _achievementsService = serviceLocator.Get<IAchievementsService>();
 }
 public AchievementsController(IAchievementsService service)
 {
     _service = service;
 }
Example #13
0
 public AchievementsController(IAchievementsService achievementsService, ISeasonLogic seasonLogic)
 {
     _achievementsService = achievementsService;
     _seasonLogic         = seasonLogic;
 }
 public AchievementsController(IAchievementsService achievementsService, IUsersService usersService)
 {
     this.achievementsService = achievementsService;
     this.usersService        = usersService;
 }
 public AchievementsController(IAchievementsService repository)
 {
     this.achievementsService = repository;
 }
 public LessonCompletedService(IAchievementsService achievementsService)
 {
     _achievementsService = achievementsService;
 }
 public AchievementsController(IServiceLocator serviceLocator)
 {
     _achievementsService = serviceLocator.Get<IAchievementsService>();
 }
Example #18
0
 public PlayersController(IMapper mapper, IPlayerService service, IAchievementsService achievementsService)
 {
     this.mapper          = mapper;
     this.service         = service;
     _achievementsService = achievementsService;
 }
Example #19
0
 public ResultsManager(IResultsService resultsService, IAchievementsService achievementsService, ICoursesService coursesService)
 {
     _resultsService      = resultsService;
     _achievementsService = achievementsService;
     _coursesService      = coursesService;
 }
Example #20
0
 public DungeonsService(GameInfoContext db, IAchievementsService achievementsService)
 {
     _db = db;
     _achievementsService = achievementsService;
 }
Example #21
0
 public TimesController(ITimesService timesService, IUsersService usersService, IAchievementsService achievementsService)
 {
     this.timesService        = timesService;
     this.usersService        = usersService;
     this.achievementsService = achievementsService;
 }
Example #22
0
        public ProfileViewModel(IAchievementsService achievementsService)
        {
            _achievementsService = achievementsService;

            Achievements = new ObservableCollection <Achievement>();
        }
 public AchievementsController(IAchievementsService achievementsService)
 {
     _achievementsService = achievementsService;
 }