protected UserService( IGametekiDbContext context, IOptions <AuthTokenOptions> optionsAccessor, IOptions <GametekiApiOptions> lobbyOptions, IEmailSender emailSender, IViewRenderService viewRenderService, ILogger <UserService> logger, IStringLocalizer <UserService> localizer) { if (lobbyOptions == null) { throw new ArgumentNullException(nameof(lobbyOptions)); } if (optionsAccessor == null) { throw new ArgumentNullException(nameof(optionsAccessor)); } this.context = context; apiOptions = lobbyOptions.Value; this.emailSender = emailSender; this.viewRenderService = viewRenderService; this.logger = logger; t = localizer; tokenOptions = optionsAccessor.Value; }
public KeytekiUserService( IGametekiDbContext context, IOptions<AuthTokenOptions> optionsAccessor, IOptions<GametekiApiOptions> lobbyOptions, IEmailSender emailSender, IViewRenderService viewRenderService, ILogger<UserService> logger, IStringLocalizer<UserService> localizer) : base(context, optionsAccessor, lobbyOptions, emailSender, viewRenderService, logger, localizer) { }
public MessageService(IGametekiDbContext context, ILogger <MessageService> logger) { this.context = context; this.logger = logger; }
public ThronetekiUserService(IGametekiDbContext context, UserManager <GametekiUser> userManager, IOptions <AuthTokenOptions> optionsAccessor, IOptions <GametekiApiOptions> apiOptions, IEmailSender emailSender, IViewRenderService viewRenderService, ILogger <UserService> logger) : base(context, userManager, optionsAccessor, apiOptions, emailSender, viewRenderService, logger) { }
public NewsService(IGametekiDbContext context, ILogger <NewsService> logger) { this.context = context; this.logger = logger; }