Example #1
0
 public UserService(IGuidKeyedRepository<User> userRepository,
     ICurrentUserNameProvider currentUserIdProvider,
     INewService newService)
 {
     this.userRepository = userRepository;
     this.currentUserNameProvider = currentUserIdProvider;
     this.newService = newService;
 }
Example #2
0
 public NewService(IGuidKeyedRepository<New> newRepository,
                 ICurrentUserProvider currentUserProvider,
                 ICurrentUserNameProvider currentUserNameProvider,
                 IGuidKeyedRepository<User> userRepository)
 {
     this.newRepository = newRepository;
     this.currentUserNameProvider = currentUserNameProvider;
     this.userRepository = userRepository;
 }
Example #3
0
 public IdentityManager(IPasswordProvider passwordProvider, ICurrentUserNameProvider currentUserNameProvider, IKeyValueRepository <string, IIdentity> repository)       //, IPrincipalProvider principalProvider)
 {
     PasswordProvider        = passwordProvider;
     CurrentUserNameProvider = currentUserNameProvider;
     Repository = repository;
 }