示例#1
0
 public RegistrationService(IUserService userService, 
     IEmailService emailService, 
     EmailSettings emailSettings,
     IUrlRegistry urlRegistry)
 {
     _userService = userService;
     _emailService = emailService;
     _emailSettings = emailSettings;
     _urlRegistry = urlRegistry;
 }
示例#2
0
 public PasswordService(IPasswordHelperService passwordHelper,
     IPasswordValidator passwordValidator,
     IUserRepository userRepository, 
     IValidator validator,
     IEmailService emailService,
     EmailSettings emailSettings,
     MembershipSettingsBag settings)
 {
     _passwordHelper = passwordHelper;
     _passwordValidator = passwordValidator;
     _userRepository = userRepository;
     _validator = validator;
     _emailService = emailService;
     _emailSettings = emailSettings;
     _settings = settings;
 }