Example #1
0
 public ServicoPeriodoFechamento(IRepositorioPeriodoFechamento repositorioFechamento,
                                 IRepositorioPeriodoFechamentoBimestre repositorioPeriodoFechamentoBimestre,
                                 IServicoUsuario servicoUsuario,
                                 IRepositorioTipoCalendario repositorioTipoCalendario,
                                 IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                 IRepositorioDre repositorioDre,
                                 IRepositorioUe repositorioUe,
                                 IRepositorioEventoFechamento repositorioEventoFechamento,
                                 IRepositorioEvento repositorioEvento,
                                 IRepositorioEventoTipo repositorioTipoEvento,
                                 IServicoEol servicoEol,
                                 IServicoNotificacao servicoNotificacao,
                                 IUnitOfWork unitOfWork)
 {
     this.repositorioPeriodoFechamento         = repositorioFechamento ?? throw new ArgumentNullException(nameof(repositorioFechamento));
     this.repositorioPeriodoFechamentoBimestre = repositorioPeriodoFechamentoBimestre ?? throw new ArgumentNullException(nameof(repositorioPeriodoFechamentoBimestre));
     this.servicoUsuario              = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.repositorioTipoCalendario   = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioPeriodoEscolar   = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioDre              = repositorioDre ?? throw new ArgumentNullException(nameof(repositorioDre));
     this.repositorioUe               = repositorioUe ?? throw new ArgumentNullException(nameof(repositorioUe));
     this.repositorioEventoFechamento = repositorioEventoFechamento ?? throw new ArgumentNullException(nameof(repositorioEventoFechamento));
     this.repositorioEvento           = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.repositorioTipoEvento       = repositorioTipoEvento ?? throw new ArgumentNullException(nameof(repositorioTipoEvento));
     this.servicoEol         = servicoEol ?? throw new ArgumentNullException(nameof(servicoEol));
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.unitOfWork         = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
 public ConsultasEventosAulasCalendario(
     IRepositorioEvento repositorioEvento,
     IComandosDiasLetivos comandosDiasLetivos,
     IRepositorioAula repositorioAula,
     IServicoUsuario servicoUsuario,
     IServicoEol servicoEOL,
     IRepositorioComponenteCurricular repositorioComponenteCurricular,
     IConsultasAbrangencia consultasAbrangencia,
     IRepositorioAtividadeAvaliativa repositorioAtividadeAvaliativa,
     IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
     IRepositorioAtividadeAvaliativaRegencia repositorioAtividadeAvaliativaRegencia,
     IRepositorioAtividadeAvaliativaDisciplina repositorioAtividadeAvaliativaDisciplina,
     IConsultasDisciplina consultasDisciplina,
     IConsultasAula consultasAula,
     IRepositorioEventoTipo repositorioEventoTipo,
     IRepositorioFechamentoReabertura repositorioFechamentoReabertura)
 {
     this.repositorioEvento                        = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.comandosDiasLetivos                      = comandosDiasLetivos ?? throw new ArgumentNullException(nameof(comandosDiasLetivos));
     this.repositorioAula                          = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.servicoUsuario                           = servicoUsuario ?? throw new ArgumentException(nameof(servicoUsuario));
     this.servicoEOL                               = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.consultasAbrangencia                     = consultasAbrangencia ?? throw new ArgumentNullException(nameof(consultasAbrangencia));
     this.repositorioAtividadeAvaliativa           = repositorioAtividadeAvaliativa ?? throw new ArgumentException(nameof(repositorioAtividadeAvaliativa));
     this.repositorioPeriodoEscolar                = repositorioPeriodoEscolar ?? throw new ArgumentException(nameof(repositorioPeriodoEscolar));
     this.repositorioAtividadeAvaliativaRegencia   = repositorioAtividadeAvaliativaRegencia ?? throw new ArgumentException(nameof(repositorioAtividadeAvaliativaRegencia));
     this.repositorioAtividadeAvaliativaDisciplina = repositorioAtividadeAvaliativaDisciplina ?? throw new ArgumentException(nameof(repositorioAtividadeAvaliativaDisciplina));
     this.consultasDisciplina                      = consultasDisciplina ?? throw new ArgumentNullException(nameof(consultasDisciplina));
     this.consultasAula                            = consultasAula ?? throw new ArgumentNullException(nameof(consultasAula));
     this.repositorioEventoTipo                    = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.repositorioComponenteCurricular          = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.repositorioFechamentoReabertura          = repositorioFechamentoReabertura ?? throw new ArgumentNullException(nameof(repositorioFechamentoReabertura));
 }
Example #3
0
 public ServicoEvento(IRepositorioEvento repositorioEvento,
                      IRepositorioEventoTipo repositorioEventoTipo,
                      IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                      IServicoUsuario servicoUsuario,
                      IRepositorioFeriadoCalendario repositorioFeriadoCalendario,
                      IRepositorioTipoCalendario repositorioTipoCalendario,
                      IComandosWorkflowAprovacao comandosWorkflowAprovacao,
                      IRepositorioAbrangencia repositorioAbrangencia, IConfiguration configuration,
                      IUnitOfWork unitOfWork, IServicoNotificacao servicoNotificacao, IServicoLog servicoLog, IServicoDiaLetivo servicoDiaLetivo, IMediator mediator)
 {
     this.repositorioEvento            = repositorioEvento ?? throw new System.ArgumentNullException(nameof(repositorioEvento));
     this.repositorioEventoTipo        = repositorioEventoTipo ?? throw new System.ArgumentNullException(nameof(repositorioEventoTipo));
     this.repositorioPeriodoEscolar    = repositorioPeriodoEscolar ?? throw new System.ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.servicoUsuario               = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.repositorioFeriadoCalendario = repositorioFeriadoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioFeriadoCalendario));
     this.repositorioTipoCalendario    = repositorioTipoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioTipoCalendario));
     this.comandosWorkflowAprovacao    = comandosWorkflowAprovacao ?? throw new ArgumentNullException(nameof(comandosWorkflowAprovacao));
     this.repositorioAbrangencia       = repositorioAbrangencia ?? throw new ArgumentNullException(nameof(repositorioAbrangencia));
     this.configuration      = configuration;
     this.unitOfWork         = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.servicoLog         = servicoLog ?? throw new ArgumentNullException(nameof(servicoLog));
     this.servicoDiaLetivo   = servicoDiaLetivo ?? throw new ArgumentNullException(nameof(servicoDiaLetivo));
     this.mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
 public ConsultasEventoTipo(IRepositorioEventoTipo repositorioEventoTipo,
                            IContextoAplicacao contextoAplicacao,
                            IRepositorioEvento repositorioEvento,
                            IServicoUsuario servicoUsuario) : base(contextoAplicacao)
 {
     this.repositorioEventoTipo = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.repositorioEvento     = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.servicoUsuario        = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
 }
 public ComandosEvento(IRepositorioEvento repositorioEvento,
                       IRepositorioEventoTipo repositorioEventoTipo,
                       IServicoEvento servicoEvento,
                       IServicoWorkflowAprovacao servicoWorkflowAprovacao)
 {
     this.repositorioEvento        = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.repositorioEventoTipo    = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.servicoEvento            = servicoEvento ?? throw new ArgumentNullException(nameof(servicoEvento));
     this.servicoWorkflowAprovacao = servicoWorkflowAprovacao ?? throw new ArgumentNullException(nameof(servicoWorkflowAprovacao));
 }
Example #6
0
 public ServicoEvento(IRepositorioEvento repositorioEvento,
                      IRepositorioEventoTipo repositorioEventoTipo,
                      IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                      IServicoUsuario servicoUsuario,
                      IRepositorioFeriadoCalendario repositorioFeriadoCalendario,
                      IRepositorioTipoCalendario repositorioTipoCalendario)
 {
     this.repositorioEvento            = repositorioEvento ?? throw new System.ArgumentNullException(nameof(repositorioEvento));
     this.repositorioEventoTipo        = repositorioEventoTipo ?? throw new System.ArgumentNullException(nameof(repositorioEventoTipo));
     this.repositorioPeriodoEscolar    = repositorioPeriodoEscolar ?? throw new System.ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.servicoUsuario               = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.repositorioFeriadoCalendario = repositorioFeriadoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioFeriadoCalendario));
     this.repositorioTipoCalendario    = repositorioTipoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioTipoCalendario));
 }
Example #7
0
 public ServicoFechamentoReabertura(IRepositorioFechamentoReabertura repositorioFechamentoReabertura, IUnitOfWork unitOfWork,
                                    IComandosWorkflowAprovacao comandosWorkflowAprovacao, IServicoUsuario servicoUsuario, IServicoEOL servicoEOL, IServicoNotificacao servicoNotificacao,
                                    IRepositorioEventoTipo repositorioEventoTipo, IServicoEvento servicoEvento, IRepositorioEvento repositorioEvento)
 {
     this.repositorioFechamentoReabertura = repositorioFechamentoReabertura ?? throw new System.ArgumentNullException(nameof(repositorioFechamentoReabertura));
     this.unitOfWork = unitOfWork ?? throw new System.ArgumentNullException(nameof(unitOfWork));
     this.comandosWorkflowAprovacao = comandosWorkflowAprovacao ?? throw new ArgumentNullException(nameof(comandosWorkflowAprovacao));
     this.servicoUsuario            = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.servicoEOL            = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.servicoNotificacao    = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.repositorioEventoTipo = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.servicoEvento         = servicoEvento ?? throw new ArgumentNullException(nameof(servicoEvento));
     this.repositorioEvento     = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
 }
Example #8
0
 public ComandosEvento(IRepositorioEvento repositorioEvento,
                       IRepositorioEventoTipo repositorioEventoTipo,
                       IServicoEvento servicoEvento,
                       IServicoWorkflowAprovacao servicoWorkflowAprovacao,
                       IServicoUsuario servicoUsuario,
                       IServicoAbrangencia servicoAbrangencia,
                       IRepositorioComunicado repositorioComunicado)
 {
     this.repositorioEvento        = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.repositorioEventoTipo    = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.repositorioComunicado    = repositorioComunicado ?? throw new ArgumentNullException(nameof(repositorioComunicado));
     this.servicoEvento            = servicoEvento ?? throw new ArgumentNullException(nameof(servicoEvento));
     this.servicoWorkflowAprovacao = servicoWorkflowAprovacao ?? throw new ArgumentNullException(nameof(servicoWorkflowAprovacao));
     this.servicoUsuario           = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.servicoAbrangencia       = servicoAbrangencia ?? throw new ArgumentNullException(nameof(servicoAbrangencia));
 }
Example #9
0
 public ServicoWorkflowAprovacao(IRepositorioNotificacao repositorioNotificacao,
                                 IRepositorioWorkflowAprovacaoNivelNotificacao repositorioWorkflowAprovacaoNivelNotificacao,
                                 IServicoEol servicoEOL,
                                 IServicoUsuario servicoUsuario,
                                 IServicoNotificacao servicoNotificacao,
                                 IRepositorioWorkflowAprovacaoNivel workflowAprovacaoNivel,
                                 IRepositorioEvento repositorioEvento,
                                 IConfiguration configuration,
                                 IRepositorioAula repositorioAula,
                                 IRepositorioUe repositorioUe,
                                 IRepositorioTurma repositorioTurma,
                                 IRepositorioWorkflowAprovacao repositorioWorkflowAprovacao,
                                 IRepositorioFechamentoReabertura repositorioFechamentoReabertura,
                                 IRepositorioFechamentoNota repositorioFechamentoNota,
                                 IRepositorioUsuario repositorioUsuario,
                                 IRepositorioPendencia repositorioPendencia,
                                 IRepositorioEventoTipo repositorioEventoTipo,
                                 IMediator mediator)
 {
     this.repositorioNotificacao = repositorioNotificacao ?? throw new System.ArgumentNullException(nameof(repositorioNotificacao));
     this.repositorioWorkflowAprovacaoNivelNotificacao = repositorioWorkflowAprovacaoNivelNotificacao ?? throw new System.ArgumentNullException(nameof(repositorioWorkflowAprovacaoNivelNotificacao));
     this.servicoEOL                      = servicoEOL ?? throw new System.ArgumentNullException(nameof(servicoEOL));
     this.servicoUsuario                  = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.servicoNotificacao              = servicoNotificacao ?? throw new System.ArgumentNullException(nameof(servicoNotificacao));
     this.workflowAprovacaoNivel          = workflowAprovacaoNivel ?? throw new System.ArgumentNullException(nameof(workflowAprovacaoNivel));
     this.repositorioEvento               = repositorioEvento ?? throw new System.ArgumentNullException(nameof(repositorioEvento));
     this.configuration                   = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.repositorioAula                 = repositorioAula ?? throw new ArgumentException(nameof(repositorioAula));
     this.repositorioUe                   = repositorioUe ?? throw new ArgumentNullException(nameof(repositorioUe));
     this.repositorioTurma                = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioWorkflowAprovacao    = repositorioWorkflowAprovacao ?? throw new ArgumentNullException(nameof(repositorioWorkflowAprovacao));
     this.repositorioFechamentoReabertura = repositorioFechamentoReabertura ?? throw new ArgumentNullException(nameof(repositorioFechamentoReabertura));
     this.repositorioFechamentoNota       = repositorioFechamentoNota ?? throw new ArgumentNullException(nameof(repositorioFechamentoNota));
     this.repositorioUsuario              = repositorioUsuario ?? throw new ArgumentNullException(nameof(repositorioUsuario));
     this.repositorioPendencia            = repositorioPendencia ?? throw new ArgumentNullException(nameof(repositorioPendencia));
     this.repositorioEventoTipo           = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
Example #10
0
 public ConsultasEventoTipo(IRepositorioEventoTipo repositorioEventoTipo, IHttpContextAccessor httpContext) : base(httpContext)
 {
     this.repositorioEventoTipo = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
 }
 public ComandosEventoTipo(IRepositorioEventoTipo repositorioEventoTipo, IUnitOfWork unitOfWork, IRepositorioEvento repositorioEvento)
 {
     this.repositorioEventoTipo = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.unitOfWork            = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.repositorioEvento     = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
 }
Example #12
0
 public ServicoFechamentoTurmaDisciplina(IRepositorioFechamentoTurmaDisciplina repositorioFechamentoTurmaDisciplina,
                                         IRepositorioFechamentoTurma repositorioFechamentoTurma,
                                         IRepositorioFechamentoAluno repositorioFechamentoAluno,
                                         IRepositorioFechamentoNota repositorioFechamentoNota,
                                         IRepositorioDre repositorioDre,
                                         IRepositorioComponenteCurricular repositorioComponenteCurricular,
                                         IRepositorioTurma repositorioTurma,
                                         IRepositorioUe repositorioUe,
                                         IServicoPeriodoFechamento servicoPeriodoFechamento,
                                         IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                         IRepositorioTipoCalendario repositorioTipoCalendario,
                                         IRepositorioTipoAvaliacao repositorioTipoAvaliacao,
                                         IRepositorioAtividadeAvaliativaRegencia repositorioAtividadeAvaliativaRegencia,
                                         IRepositorioAtividadeAvaliativaDisciplina repositorioAtividadeAvaliativaDisciplina,
                                         IRepositorioParametrosSistema repositorioParametrosSistema,
                                         IRepositorioConceito repositorioConceito,
                                         IRepositorioWfAprovacaoNotaFechamento repositorioWfAprovacaoNotaFechamento,
                                         IConsultasDisciplina consultasDisciplina,
                                         IConsultasFrequencia consultasFrequencia,
                                         IServicoNotificacao servicoNotificacao,
                                         IServicoPendenciaFechamento servicoPendenciaFechamento,
                                         IServicoEol servicoEOL,
                                         IServicoUsuario servicoUsuario,
                                         IComandosWorkflowAprovacao comandosWorkflowAprovacao,
                                         IUnitOfWork unitOfWork,
                                         IConfiguration configuration,
                                         IConsultasSupervisor consultasSupervisor,
                                         IRepositorioEvento repositorioEvento,
                                         IRepositorioEventoTipo repositorioEventoTipo,
                                         IRepositorioFechamentoReabertura repositorioFechamentoReabertura,
                                         IMediator mediator)
 {
     this.repositorioFechamentoTurma           = repositorioFechamentoTurma ?? throw new ArgumentNullException(nameof(repositorioFechamentoTurma));
     this.repositorioFechamentoTurmaDisciplina = repositorioFechamentoTurmaDisciplina ?? throw new ArgumentNullException(nameof(repositorioFechamentoTurmaDisciplina));
     this.repositorioFechamentoAluno           = repositorioFechamentoAluno ?? throw new ArgumentNullException(nameof(repositorioFechamentoAluno));
     this.repositorioFechamentoNota            = repositorioFechamentoNota ?? throw new ArgumentNullException(nameof(repositorioFechamentoNota));
     this.repositorioTurma          = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.servicoPeriodoFechamento  = servicoPeriodoFechamento ?? throw new ArgumentNullException(nameof(servicoPeriodoFechamento));
     this.repositorioTipoCalendario = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioAtividadeAvaliativaRegencia   = repositorioAtividadeAvaliativaRegencia ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativaRegencia));
     this.repositorioAtividadeAvaliativaDisciplina = repositorioAtividadeAvaliativaDisciplina ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativaDisciplina));
     this.repositorioParametrosSistema             = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.consultasDisciplina                  = consultasDisciplina ?? throw new ArgumentNullException(nameof(consultasDisciplina));
     this.consultasFrequencia                  = consultasFrequencia ?? throw new ArgumentNullException(nameof(consultasFrequencia));
     this.servicoEOL                           = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.servicoUsuario                       = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.unitOfWork                           = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.configuration                        = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.consultasSupervisor                  = consultasSupervisor ?? throw new ArgumentNullException(nameof(consultasSupervisor));
     this.repositorioEvento                    = repositorioEvento ?? throw new ArgumentNullException(nameof(repositorioEvento));
     this.repositorioEventoTipo                = repositorioEventoTipo ?? throw new ArgumentNullException(nameof(repositorioEventoTipo));
     this.repositorioFechamentoReabertura      = repositorioFechamentoReabertura ?? throw new ArgumentNullException(nameof(repositorioFechamentoReabertura));
     this.repositorioDre                       = repositorioDre ?? throw new ArgumentNullException(nameof(repositorioDre));
     this.repositorioPeriodoEscolar            = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioConceito                  = repositorioConceito ?? throw new ArgumentNullException(nameof(repositorioConceito));
     this.repositorioWfAprovacaoNotaFechamento = repositorioWfAprovacaoNotaFechamento ?? throw new ArgumentNullException(nameof(repositorioWfAprovacaoNotaFechamento));
     this.servicoNotificacao                   = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.servicoPendenciaFechamento           = servicoPendenciaFechamento ?? throw new ArgumentNullException(nameof(servicoPendenciaFechamento));
     this.comandosWorkflowAprovacao            = comandosWorkflowAprovacao ?? throw new ArgumentNullException(nameof(comandosWorkflowAprovacao));
     this.repositorioComponenteCurricular      = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }