예제 #1
0
 public ConsultasFrequencia(IMediator mediator,
                            IServicoFrequencia servicoFrequencia,
                            IServicoEol servicoEOL,
                            IConsultasPeriodoEscolar consultasPeriodoEscolar,
                            IRepositorioComponenteCurricular repositorioComponenteCurricular,
                            IConsultasTipoCalendario consultasTipoCalendario,
                            IConsultasTurma consultasTurma,
                            IRepositorioAula repositorioAula,
                            IRepositorioFrequencia repositorioFrequencia,
                            IRepositorioTurma repositorioTurma,
                            IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequenciaAlunoDisciplinaPeriodo,
                            IRepositorioParametrosSistema repositorioParametrosSistema,
                            IServicoAluno servicoAluno)
 {
     this.mediator                = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.servicoFrequencia       = servicoFrequencia ?? throw new ArgumentNullException(nameof(servicoFrequencia));
     this.servicoEOL              = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.consultasPeriodoEscolar = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTipoCalendario = consultasTipoCalendario ?? throw new ArgumentNullException(nameof(consultasTipoCalendario));
     this.consultasTurma          = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.repositorioAula         = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioTurma        = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioFrequencia   = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
     this.repositorioFrequenciaAlunoDisciplinaPeriodo = repositorioFrequenciaAlunoDisciplinaPeriodo ?? throw new ArgumentNullException(nameof(repositorioFrequenciaAlunoDisciplinaPeriodo));
     this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.servicoAluno = servicoAluno ?? throw new ArgumentNullException(nameof(servicoAluno));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
 }
예제 #2
0
 public ObterFrequenciaOuPlanoNaRecorrenciaQueryHandler(IRepositorioAula repositorioAula,
                                                        IRepositorioFrequencia repositorioFrequencia,
                                                        IRepositorioPlanoAula repositorioPlanoAula,
                                                        IRepositorioDiarioBordo repositorioDiarioBordo)
 {
     this.repositorioAula        = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioFrequencia  = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
     this.repositorioPlanoAula   = repositorioPlanoAula ?? throw new ArgumentNullException(nameof(repositorioPlanoAula));
     this.repositorioDiarioBordo = repositorioDiarioBordo ?? throw new ArgumentNullException(nameof(repositorioDiarioBordo));
 }
예제 #3
0
 public ServicoFrequencia(IRepositorioFrequencia repositorioFrequencia,
                          IRepositorioRegistroAusenciaAluno repositorioRegistroAusenciaAluno,
                          IRepositorioAula repositorioAula,
                          IServicoUsuario servicoUsuario,
                          IUnitOfWork unitOfWork,
                          IServicoEol servicoEOL,
                          IRepositorioTurma repositorioTurma)
 {
     this.repositorioFrequencia            = repositorioFrequencia ?? throw new System.ArgumentNullException(nameof(repositorioFrequencia));
     this.repositorioRegistroAusenciaAluno = repositorioRegistroAusenciaAluno ?? throw new System.ArgumentNullException(nameof(repositorioRegistroAusenciaAluno));
     this.repositorioAula  = repositorioAula ?? throw new System.ArgumentNullException(nameof(repositorioAula));
     this.servicoUsuario   = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.unitOfWork       = unitOfWork ?? throw new System.ArgumentNullException(nameof(unitOfWork));
     this.servicoEOL       = servicoEOL ?? throw new System.ArgumentNullException(nameof(servicoEOL));
     this.repositorioTurma = repositorioTurma ?? throw new System.ArgumentNullException(nameof(repositorioTurma));
 }
 public ConsultasNotasConceitos(IServicoEol servicoEOL, IConsultaAtividadeAvaliativa consultasAtividadeAvaliativa,
                                IConsultasFechamentoTurmaDisciplina consultasFechamentoTurmaDisciplina, IConsultasDisciplina consultasDisciplina,
                                IConsultasPeriodoFechamento consultasFechamento,
                                IServicoDeNotasConceitos servicoDeNotasConceitos, IRepositorioNotasConceitos repositorioNotasConceitos,
                                IRepositorioFrequencia repositorioFrequencia, IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequenciaAluno,
                                IServicoUsuario servicoUsuario, IServicoAluno servicoAluno, IRepositorioTipoCalendario repositorioTipoCalendario,
                                IRepositorioNotaParametro repositorioNotaParametro, IRepositorioAtividadeAvaliativa repositorioAtividadeAvaliativa,
                                IRepositorioAtividadeAvaliativaDisciplina repositorioAtividadeAvaliativaDisciplina, IRepositorioConceito repositorioConceito,
                                IRepositorioPeriodoEscolar repositorioPeriodoEscolar, IRepositorioParametrosSistema repositorioParametrosSistema,
                                IRepositorioTipoAvaliacao repositorioTipoAvaliacao, IRepositorioTurma repositorioTurma, IRepositorioUe repositorioUe,
                                IRepositorioDre repositorioDre, IRepositorioEvento repositorioEvento, IRepositorioAtividadeAvaliativaRegencia repositorioAtividadeAvaliativaRegencia,
                                IRepositorioComponenteCurricular repositorioComponenteCurricular,
                                IMediator mediator)
 {
     this.servicoEOL = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.consultasAtividadeAvaliativa       = consultasAtividadeAvaliativa ?? throw new ArgumentNullException(nameof(consultasAtividadeAvaliativa));
     this.consultasDisciplina                = consultasDisciplina ?? throw new ArgumentNullException(nameof(consultasDisciplina));
     this.consultasFechamentoTurmaDisciplina = consultasFechamentoTurmaDisciplina ?? throw new ArgumentNullException(nameof(consultasFechamentoTurmaDisciplina));
     this.consultasFechamento                = consultasFechamento ?? throw new ArgumentNullException(nameof(consultasFechamento));
     this.servicoDeNotasConceitos            = servicoDeNotasConceitos ?? throw new ArgumentNullException(nameof(servicoDeNotasConceitos));
     this.repositorioNotasConceitos          = repositorioNotasConceitos ?? throw new ArgumentNullException(nameof(repositorioNotasConceitos));
     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.servicoAluno                             = servicoAluno ?? throw new ArgumentNullException(nameof(servicoAluno));
     this.repositorioNotaParametro                 = repositorioNotaParametro ?? throw new ArgumentNullException(nameof(repositorioNotaParametro));
     this.repositorioAtividadeAvaliativa           = repositorioAtividadeAvaliativa ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativa));
     this.repositorioAtividadeAvaliativaDisciplina = repositorioAtividadeAvaliativaDisciplina ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativaDisciplina));
     this.repositorioConceito                      = repositorioConceito ?? throw new ArgumentNullException(nameof(repositorioConceito));
     this.repositorioTipoCalendario                = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioPeriodoEscolar                = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioParametrosSistema             = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.repositorioTipoAvaliacao                 = repositorioTipoAvaliacao ?? throw new ArgumentNullException(nameof(repositorioTipoAvaliacao));
     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.repositorioEvento                        = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.repositorioAtividadeAvaliativaRegencia   = repositorioAtividadeAvaliativaRegencia ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativaRegencia));
     this.repositorioComponenteCurricular          = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
 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));
 }
예제 #6
0
 public ServicoRecuperacaoParalela(IRepositorioFrequencia repositorioFrequencia, IMediator mediator)
 {
     this.repositorioFrequencia = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
 public ObterAulaPossuiFrequenciaQueryHandler(IRepositorioFrequencia repositorioFrequencia)
 {
     this.repositorioFrequencia = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
 }
 public ServicoRecuperacaoParalela(IRepositorioFrequencia repositorioFrequencia, IRepositorioParametrosSistema repositorioParametrosSistema)
 {
     this.repositorioFrequencia        = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
     this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
 }
 public ExcluirFrequenciaDaAulaCommandHandler(IRepositorioFrequencia repositorioFrequencia)
 {
     this.repositorioFrequencia = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
 }