コード例 #1
0
 public ServicoCompensacaoAusencia(IRepositorioCompensacaoAusencia repositorioCompensacaoAusencia,
                                   IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno,
                                   IRepositorioCompensacaoAusenciaDisciplinaRegencia repositorioCompensacaoAusenciaDisciplinaRegencia,
                                   IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequencia,
                                   IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                   IConsultasTurma consultasTurma,
                                   IRepositorioTipoCalendario repositorioTipoCalendario,
                                   IServicoEol servicoEOL,
                                   IServicoUsuario servicoUsuario,
                                   IRepositorioTurma repositorioTurma,
                                   IRepositorioComponenteCurricular repositorioComponenteCurricular,
                                   IRepositorioNotificacaoCompensacaoAusencia repositorioNotificacaoCompensacaoAusencia,
                                   IUnitOfWork unitOfWork, IRepositorioProcessoExecutando repositorioProcessoExecutando,
                                   IMediator mediator)
 {
     this.repositorioCompensacaoAusencia      = repositorioCompensacaoAusencia ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusencia));
     this.repositorioCompensacaoAusenciaAluno = repositorioCompensacaoAusenciaAluno ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
     this.repositorioCompensacaoAusenciaDisciplinaRegencia = repositorioCompensacaoAusenciaDisciplinaRegencia ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusenciaDisciplinaRegencia));
     this.repositorioFrequencia     = repositorioFrequencia ?? throw new System.ArgumentNullException(nameof(repositorioFrequencia));
     this.consultasPeriodoEscolar   = consultasPeriodoEscolar ?? throw new System.ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTurma            = consultasTurma ?? throw new System.ArgumentNullException(nameof(consultasTurma));
     this.repositorioTipoCalendario = repositorioTipoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioTurma          = repositorioTurma ?? throw new System.ArgumentNullException(nameof(repositorioTurma));
     this.repositorioNotificacaoCompensacaoAusencia = repositorioNotificacaoCompensacaoAusencia ?? throw new System.ArgumentNullException(nameof(repositorioNotificacaoCompensacaoAusencia));
     this.servicoEOL     = servicoEOL ?? throw new System.ArgumentNullException(nameof(servicoEOL));
     this.servicoUsuario = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.unitOfWork     = unitOfWork ?? throw new System.ArgumentNullException(nameof(unitOfWork));
     this.repositorioProcessoExecutando = repositorioProcessoExecutando ?? throw new ArgumentNullException(nameof(repositorioProcessoExecutando));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new System.ArgumentNullException(nameof(repositorioComponenteCurricular));
 }
 public CalcularFrequenciaPorTurmaCommandHandler(IRepositorioRegistroAusenciaAluno repositorioRegistroAusenciaAluno,
                                                 IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequenciaAlunoDisciplinaPeriodo, IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno,
                                                 IRepositorioProcessoExecutando repositorioProcessoExecutando)
 {
     this.repositorioRegistroAusenciaAluno            = repositorioRegistroAusenciaAluno ?? throw new ArgumentNullException(nameof(repositorioRegistroAusenciaAluno));
     this.repositorioFrequenciaAlunoDisciplinaPeriodo = repositorioFrequenciaAlunoDisciplinaPeriodo ?? throw new ArgumentNullException(nameof(repositorioFrequenciaAlunoDisciplinaPeriodo));
     this.repositorioCompensacaoAusenciaAluno         = repositorioCompensacaoAusenciaAluno ?? throw new ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
     this.repositorioProcessoExecutando = repositorioProcessoExecutando ?? throw new ArgumentNullException(nameof(repositorioProcessoExecutando));
 }
コード例 #3
0
 public ServicoCalculoFrequencia(IRepositorioAula repositorioAula,
                                 IRepositorioRegistroAusenciaAluno repositorioRegistroAusenciaAluno,
                                 IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequenciaAlunoDisciplinaPeriodo,
                                 IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno,
                                 IRepositorioTurma repositorioTurma,
                                 IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                 IComandosProcessoExecutando comandosProcessoExecutando)
 {
     this.repositorioAula = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioRegistroAusenciaAluno            = repositorioRegistroAusenciaAluno ?? throw new ArgumentNullException(nameof(repositorioRegistroAusenciaAluno));
     this.repositorioFrequenciaAlunoDisciplinaPeriodo = repositorioFrequenciaAlunoDisciplinaPeriodo ?? throw new ArgumentNullException(nameof(repositorioFrequenciaAlunoDisciplinaPeriodo));
     this.repositorioCompensacaoAusenciaAluno         = repositorioCompensacaoAusenciaAluno ?? throw new ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
     this.repositorioTurma           = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.consultasPeriodoEscolar    = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.comandosProcessoExecutando = comandosProcessoExecutando ?? throw new ArgumentNullException(nameof(comandosProcessoExecutando));
 }
コード例 #4
0
 public ServicoNotificacaoFrequencia(IRepositorioNotificacaoFrequencia repositorioNotificacaoFrequencia,
                                     IRepositorioParametrosSistema repositorioParametrosSistema,
                                     IRepositorioFrequencia repositorioFrequencia,
                                     IRepositorioComponenteCurricular repositorioComponenteCurricular,
                                     IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequenciaAluno,
                                     IRepositorioCompensacaoAusencia repositorioCompensacaoAusencia,
                                     IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno,
                                     IRepositorioTurma repositorioTurma,
                                     IRepositorioUe repositorioUe,
                                     IRepositorioDre repositorioDre,
                                     IRepositorioNotificacaoCompensacaoAusencia repositorioNotificacaoCompensacaoAusencia,
                                     IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                     IRepositorioTipoCalendario repositorioTipoCalendario,
                                     IServicoNotificacao servicoNotificacao,
                                     IServicoUsuario servicoUsuario,
                                     IServicoEol servicoEOL,
                                     IConfiguration configuration,
                                     IConsultasFeriadoCalendario consultasFeriadoCalendario)
 {
     this.repositorioNotificacaoFrequencia = repositorioNotificacaoFrequencia ?? throw new ArgumentNullException(nameof(repositorioNotificacaoFrequencia));
     this.repositorioParametrosSistema     = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.servicoNotificacao                  = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.repositorioFrequencia               = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
     this.repositorioFrequenciaAluno          = repositorioFrequenciaAluno ?? throw new ArgumentNullException(nameof(repositorioFrequenciaAluno));
     this.servicoUsuario                      = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.repositorioCompensacaoAusencia      = repositorioCompensacaoAusencia ?? throw new ArgumentNullException(nameof(repositorioCompensacaoAusencia));
     this.repositorioCompensacaoAusenciaAluno = repositorioCompensacaoAusenciaAluno ?? throw new ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
     this.repositorioTurma                    = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioUe  = repositorioUe ?? throw new ArgumentNullException(nameof(repositorioUe));
     this.repositorioDre = repositorioDre ?? throw new ArgumentNullException(nameof(repositorioDre));
     this.repositorioNotificacaoCompensacaoAusencia = repositorioNotificacaoCompensacaoAusencia ?? throw new ArgumentNullException(nameof(repositorioNotificacaoCompensacaoAusencia));
     this.repositorioPeriodoEscolar = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioTipoCalendario = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.servicoEOL    = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.consultasFeriadoCalendario      = consultasFeriadoCalendario ?? throw new System.ArgumentNullException(nameof(consultasFeriadoCalendario));
 }
コード例 #5
0
 public ServicoCompensacaoAusencia(IRepositorioCompensacaoAusencia repositorioCompensacaoAusencia,
                                   IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno,
                                   IRepositorioCompensacaoAusenciaDisciplinaRegencia repositorioCompensacaoAusenciaDisciplinaRegencia,
                                   IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequencia,
                                   IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                   IRepositorioTipoCalendario repositorioTipoCalendario,
                                   IServicoEOL servicoEOL,
                                   IServicoUsuario servicoUsuario,
                                   IRepositorioTurma repositorioTurma,
                                   IRepositorioNotificacaoCompensacaoAusencia repositorioNotificacaoCompensacaoAusencia,
                                   IUnitOfWork unitOfWork)
 {
     this.repositorioCompensacaoAusencia      = repositorioCompensacaoAusencia ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusencia));
     this.repositorioCompensacaoAusenciaAluno = repositorioCompensacaoAusenciaAluno ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
     this.repositorioCompensacaoAusenciaDisciplinaRegencia = repositorioCompensacaoAusenciaDisciplinaRegencia ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusenciaDisciplinaRegencia));
     this.repositorioFrequencia     = repositorioFrequencia ?? throw new System.ArgumentNullException(nameof(repositorioFrequencia));
     this.consultasPeriodoEscolar   = consultasPeriodoEscolar ?? throw new System.ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.repositorioTipoCalendario = repositorioTipoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioTurma          = repositorioTurma ?? throw new System.ArgumentNullException(nameof(repositorioTurma));
     this.repositorioNotificacaoCompensacaoAusencia = repositorioNotificacaoCompensacaoAusencia ?? throw new System.ArgumentNullException(nameof(repositorioNotificacaoCompensacaoAusencia));
     this.servicoEOL     = servicoEOL ?? throw new System.ArgumentNullException(nameof(servicoEOL));
     this.servicoUsuario = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.unitOfWork     = unitOfWork ?? throw new System.ArgumentNullException(nameof(unitOfWork));
 }
 public ConsultasCompensacaoAusenciaAluno(IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno)
 {
     this.repositorioCompensacaoAusenciaAluno = repositorioCompensacaoAusenciaAluno ?? throw new ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
 }