コード例 #1
0
 public UsuarioDomainService(IUsuarioRepository usuarioRepository,
                             IMD5Cryptography cryptography) : base(usuarioRepository)
 {
     this.usuarioRepository = usuarioRepository;
     this.cryptography      = cryptography;
 }
コード例 #2
0
 public UsuarioDomainService(IUnitOfWork unitOfWork, IMD5Cryptography cryptography)
     : base(unitOfWork.UsuarioRepository)
 {
     this.unitOfWork   = unitOfWork;
     this.cryptography = cryptography;
 }
コード例 #3
0
 public UsuarioDomainService(IUsuarioRepository usuarioRepository, IMD5Cryptography cryptography)
 {
     _usuarioRepository = usuarioRepository;
     _cryptography      = cryptography;
 }