コード例 #1
0
 public ConsultasEventoMatricula(IRepositorioEventoMatricula repositorio)
 {
     this.repositorio = repositorio ?? throw new ArgumentException(nameof(repositorio));
 }
コード例 #2
0
 public ServicoEventoMatricula(IServicoEOL servicoEOL,
                               IRepositorioEventoMatricula repositorioEventoMatricula)
 {
     this.servicoEOL = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.repositorioEventoMatricula = repositorioEventoMatricula ?? throw new ArgumentNullException(nameof(repositorioEventoMatricula));
 }