public UserService(MshareDbContext context, ITimeService timeService, IEmailService emailService, IURIConfiguration uriConf, IStringLocalizer <LocalizationResource> localizer, IRazorViewToStringRenderer renderer) { Context = context; TimeService = timeService; EmailService = emailService; UriConf = uriConf; Renderer = renderer; Localizer = localizer; random = new Random(); }
public GroupService(MshareDbContext context, IEmailService emailService, IOptimizedService optimizedService, IHistoryService history, IURIConfiguration uriConf, IStringLocalizer <LocalizationResource> localizer, IRazorViewToStringRenderer renderer) { Context = context; EmailService = emailService; OptimizedService = optimizedService; UriConf = uriConf; Renderer = renderer; Localizer = localizer; History = history; }
public APIPrefixFilter(IURIConfiguration uriConf) { UriConf = uriConf; }
public EmailService(IEmailConfiguration emailConf, IURIConfiguration uriConf) { EmailConf = emailConf; UriConf = uriConf; SenderAddr = new MailboxAddress(EmailConf.Name, EmailConf.Address); }