Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public APIPrefixFilter(IURIConfiguration uriConf)
 {
     UriConf = uriConf;
 }
Esempio n. 4
0
 public EmailService(IEmailConfiguration emailConf, IURIConfiguration uriConf)
 {
     EmailConf  = emailConf;
     UriConf    = uriConf;
     SenderAddr = new MailboxAddress(EmailConf.Name, EmailConf.Address);
 }