public RestoreDefaultSkinCommand(IMtaManager mtaManager, IReadOnlyUserService userService,
                                  IHttpContextReader httpContextReader)
 {
     this.mtaManager        = mtaManager;
     this.userService       = userService;
     this.httpContextReader = httpContextReader;
 }
Beispiel #2
0
 public GetUsersByAdminQuery(IReadOnlyUserService userService, IMapper mapper,
                             IHttpContextWriter httpContextWriter)
 {
     this.userService       = userService;
     this.mapper            = mapper;
     this.httpContextWriter = httpContextWriter;
 }
Beispiel #3
0
 public GetMessagesThreadQuery(IReadOnlyMessenger messenger, IReadOnlyUserService userService, IMapper mapper,
                               IHttpContextWriter httpContextWriter)
 {
     this.messenger         = messenger;
     this.userService       = userService;
     this.mapper            = mapper;
     this.httpContextWriter = httpContextWriter;
 }
 public AccountManager(IDatabase database, IHashGenerator hashGenerator, IReadOnlyUserService userService,
                       IHttpContextReader httpContextReader)
 {
     this.database          = database;
     this.hashGenerator     = hashGenerator;
     this.userService       = userService;
     this.httpContextReader = httpContextReader;
 }
Beispiel #5
0
 public RestoreDefaultInteriorCommand(IMtaManager mtaManager, IReadOnlyUserService userService,
                                      IReadOnlyCharacterService characterService, IHttpContextReader httpContextReader)
 {
     this.mtaManager        = mtaManager;
     this.userService       = userService;
     this.characterService  = characterService;
     this.httpContextReader = httpContextReader;
 }
 public GetMtaLogsQuery(ILogReader logReader, IRolesService rolesService,
                        IReadOnlyCharacterService characterService, IReadOnlyUserService userService,
                        IHttpContextReader httpContextReader)
 {
     this.logReader         = logReader;
     this.rolesService      = rolesService;
     this.characterService  = characterService;
     this.userService       = userService;
     this.httpContextReader = httpContextReader;
 }
        public SignUpCommand(IAuthService authService, ISerialService serialService,
                             IReadOnlyUserService userService, IEmailSender emailSender, ICryptoService cryptoService,
                             IReadOnlyEmailTemplateGenerator emailTemplateGenerator, IAuthValidationService authValidationService,
                             ICaptchaService captchaService, IConfiguration configuration, IMapper mapper)
        {
            this.authService            = authService;
            this.serialService          = serialService;
            this.userService            = userService;
            this.emailSender            = emailSender;
            this.cryptoService          = cryptoService;
            this.emailTemplateGenerator = emailTemplateGenerator;
            this.authValidationService  = authValidationService;
            this.captchaService         = captchaService;
            this.mapper = mapper;

            Configuration = configuration;
        }
Beispiel #8
0
 public PremiumAccountManager(IDatabase database, ICharacterService characterService,
                              IReadOnlyUserService userService, IPurchaseService purchaseService, IAdminActionService adminActionService,
                              IEmailSender emailSender, IMtaManager mtaManager, IOrderService orderService,
                              IPremiumUserLibraryManager premiumUserLibraryManager, ITempDatabaseCleaner tempDatabaseCleaner,
                              IFilesManager filesManager, ICustomInteriorManager customInteriorManager,
                              IHttpContextReader httpContextReader)
 {
     this.database                  = database;
     this.characterService          = characterService;
     this.userService               = userService;
     this.purchaseService           = purchaseService;
     this.adminActionService        = adminActionService;
     this.emailSender               = emailSender;
     this.mtaManager                = mtaManager;
     this.orderService              = orderService;
     this.premiumUserLibraryManager = premiumUserLibraryManager;
     this.tempDatabaseCleaner       = tempDatabaseCleaner;
     this.filesManager              = filesManager;
     this.customInteriorManager     = customInteriorManager;
     this.httpContextReader         = httpContextReader;
 }
Beispiel #9
0
 public GetUserQuery(IReadOnlyUserService userService, IMapper mapper)
 {
     this.userService = userService;
     this.mapper      = mapper;
 }
 public GetUserWithCharactersQuery(IReadOnlyUserService userService, IMapper mapper)
 {
     this.userService = userService;
     this.mapper      = mapper;
 }
Beispiel #11
0
 public GetUsersQuery(IReadOnlyUserService userService, IMapper mapper, IHttpContextService httpContextService)
 {
     this.userService        = userService;
     this.mapper             = mapper;
     this.httpContextService = httpContextService;
 }