public UserService( IUserRepository userRepository, GErrorDescriber errorDescriber, IKeyNormalizer keyNormalizer, IPasswordHasher passwordHasher, IEnumerable <IValidator <User> > validators ) : base(userRepository, validators, errorDescriber) { KeyNormalizer = keyNormalizer; PasswordHasher = passwordHasher; }
public UserValidator(IUserRepository userRepository, IKeyNormalizer keyNormalizer, GErrorDescriber errorDescriber) { _userRepository = userRepository; _keyNormalizer = keyNormalizer; _errorDescriber = errorDescriber; }
public FindByEmailSpec(string email, IKeyNormalizer keyNormalizer) { Email = email; _keyNormalizer = keyNormalizer; }
public FindByNameSpec(string name, IKeyNormalizer keyNormalizer) { Name = name; _keyNormalizer = keyNormalizer; }