public ServicoNotificacaoAulaPrevista(IRepositorioParametrosSistema repositorioParametrosSistema, IRepositorioNotificacaoAulaPrevista repositorioNotificacaoAulaPrevista, IRepositorioAulaPrevista repositorioAulaPrevista, IServicoNotificacao servicoNotificacao, IServicoUsuario servicoUsuario, IConfiguration configuration, IMediator mediator) { this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema)); this.repositorioNotificacaoAulaPrevista = repositorioNotificacaoAulaPrevista ?? throw new ArgumentNullException(nameof(repositorioNotificacaoAulaPrevista)); this.repositorioAulaPrevista = repositorioAulaPrevista ?? throw new ArgumentNullException(nameof(repositorioAulaPrevista)); this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao)); this.servicoUsuario = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario)); this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); this.mediator = mediator ?? throw new System.ArgumentNullException(nameof(mediator)); }
public ServicoNotificacaoAulaPrevista(IRepositorioParametrosSistema repositorioParametrosSistema, IRepositorioNotificacaoAulaPrevista repositorioNotificacaoAulaPrevista, IRepositorioAulaPrevista repositorioAulaPrevista, IRepositorioPeriodoEscolar repositorioPeriodoEscolar, IServicoNotificacao servicoNotificacao, IServicoUsuario servicoUsuario, IConfiguration configuration) { this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema)); this.repositorioNotificacaoAulaPrevista = repositorioNotificacaoAulaPrevista ?? throw new ArgumentNullException(nameof(repositorioNotificacaoAulaPrevista)); this.repositorioAulaPrevista = repositorioAulaPrevista ?? throw new ArgumentNullException(nameof(repositorioAulaPrevista)); this.repositorioPeriodoEscolar = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar)); this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao)); this.servicoUsuario = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario)); this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); }