示例#1
0
 public RequestController(ProfileContext context, IHostingEnvironment hostingEnvironment, UserManager <ApplicationUser> userManager, IEmailSend emailSend)
 {
     _context = context;
     this.hostingEnvironment = hostingEnvironment;
     _userManager            = userManager;
     _emailSend = emailSend;
 }
 public MainController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSend emailSend, ISmsSend smsSend)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSend     = emailSend;
     _smsSend       = smsSend;
 }
 public HomeController(ILogger <HomeController> logger, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSend emailSend)
 {
     _logger        = logger;
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSend     = emailSend;
 }
示例#4
0
 public WritaController(IDataHelper d, IBlogSettingsLoader b, ISettingsLoader i, IEmailSend e)
 {
     _dbhelper       = d;
     _blogsettings   = b;
     _globalsettings = i;
     _email          = e;
 }
示例#5
0
 public MainController(UserManager <ApplicationUser> _userManager, SignInManager <ApplicationUser> _signInManager, IEmailSend _emailSend,
                       ISmsSend _smsSend)
 {
     userManager   = _userManager;
     signInManager = _signInManager;
     emailSend     = _emailSend;
     smsSend       = _smsSend;
 }
示例#6
0
 public HomeController(ProfileContext context, UserManager <ApplicationUser> userManager,
                       SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, IEmailSend emailSend)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     this.roleManager = roleManager;
     _context         = context;
     _emailSend       = emailSend;
 }
示例#7
0
 public EmailWrapper()
 {
     //default, using default conf
     emailSend = new SMTPEmailSend();
 }
示例#8
0
 public EmailWrapper(EmailOutlookProperties properties)
 {
     emailSend = new OutlookEmailSend(properties);
 }
示例#9
0
 public EmailWrapper(EmailSMTPProperties properties)
 {
     emailSend = new SMTPEmailSend(properties);
 }
 public ForgotPasswordController(UserManager <ApplicationUser> userManager, IEmailSend emailSend)
 {
     _emailSend   = emailSend;
     _userManager = userManager;
 }
示例#11
0
 public PersonLists(IEmailSend emailSend)
 {
     _emailSend = emailSend;
 }