示例#1
0
 public UsuarioRepository(
     IGetUserByLogin getUserByLogin,
     IGetUserByEmail getUserByEmail,
     ILdapRepository ldapRepository,
     ICreateUser createUser,
     IUpdateToken updateToken,
     IRecreateUser recreateUser
     )
 {
     this.getUserByLogin = getUserByLogin;
     this.getUserByEmail = getUserByEmail;
     this.createUser     = createUser;
     this.ldapRepository = ldapRepository;
     this.updateToken    = updateToken;
     this.recreateUser   = recreateUser;
 }
示例#2
0
 public UsuarioRepository(
     IGetUserByLogin getUserByLogin,
     IGetUserByEmail getUserByEmail,
     ICreateUser createUser,
     INotification notification,
     IUpdateToken updateToken,
     IRecreateUser recreateUser,
     IUpdateDB updateDb,
     ILdapRepository ldapRepository
     )
 {
     this.getUserByLogin = getUserByLogin;
     this.getUserByEmail = getUserByEmail;
     this.createUser     = createUser;
     this.notification   = notification;
     this.updateToken    = updateToken;
     this.recreateUser   = recreateUser;
     this.updateDb       = updateDb;
     this.ldapRepository = ldapRepository;
 }