コード例 #1
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));
 }
コード例 #2
0
 public ServicoWorkflowAprovacao(IRepositorioNotificacao repositorioNotificacao,
                                 IRepositorioWorkflowAprovacaoNivelNotificacao repositorioWorkflowAprovacaoNivelNotificacao,
                                 IServicoEOL servicoEOL,
                                 IServicoUsuario servicoUsuario,
                                 IServicoNotificacao servicoNotificacao,
                                 IRepositorioWorkflowAprovacaoNivel workflowAprovacaoNivel,
                                 IRepositorioSupervisorEscolaDre repositorioSupervisorEscolaDre,
                                 IRepositorioEvento repositorioEvento,
                                 IConfiguration configuration,
                                 IRepositorioAula repositorioAula,
                                 IRepositorioUe repositorioUe,
                                 IRepositorioTurma repositorioTurma,
                                 IRepositorioWorkflowAprovacao repositorioWorkflowAprovacao,
                                 IUnitOfWork unitOfWork,
                                 IRepositorioFechamentoReabertura repositorioFechamentoReabertura)
 {
     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.repositorioSupervisorEscolaDre  = repositorioSupervisorEscolaDre ?? throw new System.ArgumentNullException(nameof(repositorioSupervisorEscolaDre));
     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.unitOfWork                      = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.repositorioFechamentoReabertura = repositorioFechamentoReabertura ?? throw new ArgumentNullException(nameof(repositorioFechamentoReabertura));
 }
コード例 #3
0
 public ServicoDeNotasConceitos(IRepositorioAtividadeAvaliativa repositorioAtividadeAvaliativa,
                                IServicoEol servicoEOL, IConsultasAbrangencia consultasAbrangencia,
                                IRepositorioNotaTipoValor repositorioNotaTipoValor, IRepositorioCiclo repositorioCiclo,
                                IRepositorioConceito repositorioConceito, IRepositorioNotaParametro repositorioNotaParametro,
                                IRepositorioNotasConceitos repositorioNotasConceitos, IUnitOfWork unitOfWork,
                                IRepositorioAtividadeAvaliativaDisciplina repositorioAtividadeAvaliativaDisciplina,
                                IRepositorioPeriodoFechamento repositorioPeriodoFechamento,
                                IServicoNotificacao servicoNotificacao, IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                IRepositorioAula repositorioAula, IRepositorioTurma repositorioTurma, IRepositorioParametrosSistema repositorioParametrosSistema,
                                IServicoUsuario servicoUsuario, IConfiguration configuration, IMediator mediator)
 {
     this.repositorioAtividadeAvaliativa = repositorioAtividadeAvaliativa ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativa));
     this.servicoEOL                = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.consultasAbrangencia      = consultasAbrangencia ?? throw new ArgumentNullException(nameof(consultasAbrangencia));
     this.repositorioNotaTipoValor  = repositorioNotaTipoValor ?? throw new ArgumentNullException(nameof(repositorioNotaTipoValor));
     this.repositorioCiclo          = repositorioCiclo ?? throw new ArgumentNullException(nameof(repositorioCiclo));
     this.repositorioConceito       = repositorioConceito ?? throw new ArgumentNullException(nameof(repositorioConceito));
     this.repositorioNotaParametro  = repositorioNotaParametro ?? throw new ArgumentNullException(nameof(repositorioNotaParametro));
     this.repositorioNotasConceitos = repositorioNotasConceitos ?? throw new ArgumentNullException(nameof(repositorioNotasConceitos));
     this.repositorioPeriodoEscolar = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioAtividadeAvaliativaDisciplina = repositorioAtividadeAvaliativaDisciplina ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativaDisciplina));
     this.repositorioAula              = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioTurma             = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.repositorioPeriodoFechamento = repositorioPeriodoFechamento ?? throw new ArgumentNullException(nameof(repositorioPeriodoFechamento));
     this.unitOfWork         = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.servicoUsuario     = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.hostAplicacao      = configuration["UrlFrontEnd"];
     this.mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
コード例 #4
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));
 }
コード例 #5
0
 public SalvarNotificacaoDevolutivaUseCase(IMediator mediator, IConfiguration configuration, IServicoNotificacao servicoNotificacao,
                                           IRepositorioNotificacaoDevolutiva repositorioNotificacaoDevolutiva)
 {
     this.mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.configuration      = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.repositorioNotificacaoDevolutiva = repositorioNotificacaoDevolutiva ?? throw new ArgumentNullException(nameof(repositorioNotificacaoDevolutiva));
 }
 public SalvarNotificacaoCartaIntencoesObservacaoUseCase(IMediator mediator, IConfiguration configuration, IServicoNotificacao servicoNotificacao,
                                                         IRepositorioNotificacaoCartaIntencoesObservacao repositorioNotificacaoCartaIntencoesObservacao)
 {
     this.mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.configuration      = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.repositorioNotificacaoCartaIntencoesObservacao = repositorioNotificacaoCartaIntencoesObservacao ?? throw new ArgumentNullException(nameof(repositorioNotificacaoCartaIntencoesObservacao));
 }
コード例 #7
0
 public ComandosNotificacao(IRepositorioNotificacao repositorioNotificacao,
                            IServicoNotificacao servicoNotificacao,
                            IServicoUsuario servicoUsuario)
 {
     this.repositorioNotificacao = repositorioNotificacao ?? throw new ArgumentNullException(nameof(repositorioNotificacao));
     this.servicoNotificacao     = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.servicoUsuario         = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
 }
コード例 #8
0
        public IServicoNotificacao DefineEstrategia(TipoNotificacao tipoNotificacao)
        {
            _servicoNotificacao = tipoNotificacao switch
            {
                TipoNotificacao.Email => new ServicoNotificacaoEmail(_smtpConfig, _logger),
                TipoNotificacao.Sms => new ServicoNotificacaoSms(_twilioConfig, _logger),
                TipoNotificacao.Whatsapp => new ServicoNotificacaoWhatsapp(_twilioConfig, _logger),
                _ => throw new NotImplementedException()
            };

            return(_servicoNotificacao);
        }
コード例 #9
0
 public AlterarAulaRecorrenteCommandHandler(IMediator mediator,
                                            IRepositorioAula repositorioAula,
                                            IRepositorioNotificacaoAula repositorioNotificacaoAula,
                                            IServicoNotificacao servicoNotificacao,
                                            IUnitOfWork unitOfWork)
 {
     this.mediator                   = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.repositorioAula            = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioNotificacaoAula = repositorioNotificacaoAula ?? throw new ArgumentNullException(nameof(repositorioNotificacaoAula));
     this.servicoNotificacao         = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.unitOfWork                 = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
コード例 #10
0
 public ServicoWorkflowAprovacao(IUnitOfWork unitOfWork, IRepositorioNotificacao repositorioNotificacao,
                                 IRepositorioWorkflowAprovacaoNivelNotificacao repositorioWorkflowAprovacaoNivelNotificacao, IServicoEOL servicoEOL,
                                 IServicoUsuario servicoUsuario, IServicoNotificacao servicoNotificacao, IRepositorioWorkflowAprovacaoNivel workflowAprovacaoNivel,
                                 IRepositorioSupervisorEscolaDre repositorioSupervisorEscolaDre)
 {
     this.unitOfWork             = unitOfWork ?? throw new System.ArgumentNullException(nameof(unitOfWork));
     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.repositorioSupervisorEscolaDre = repositorioSupervisorEscolaDre ?? throw new System.ArgumentNullException(nameof(repositorioSupervisorEscolaDre));
 }
コード例 #11
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));
 }
コード例 #12
0
 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));
 }
コード例 #13
0
 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));
 }
コード例 #14
0
 public ServicoAula(IRepositorioAula repositorioAula,
                    IServicoEOL servicoEOL,
                    IRepositorioTipoCalendario repositorioTipoCalendario,
                    IServicoDiaLetivo servicoDiaLetivo,
                    IConsultasGrade consultasGrade,
                    IConsultasPeriodoEscolar consultasPeriodoEscolar,
                    IConsultasFrequencia consultasFrequencia,
                    IConsultasPlanoAula consultasPlanoAula,
                    IServicoLog servicoLog,
                    IServicoNotificacao servicoNotificacao,
                    IComandosWorkflowAprovacao comandosWorkflowAprovacao,
                    IComandosPlanoAula comandosPlanoAula,
                    IComandosNotificacaoAula comandosNotificacaoAula,
                    IServicoFrequencia servicoFrequencia,
                    IConfiguration configuration,
                    IRepositorioAtividadeAvaliativa repositorioAtividadeAvaliativa,
                    IRepositorioAtribuicaoCJ repositorioAtribuicaoCJ,
                    IRepositorioTurma repositorioTurma,
                    IServicoWorkflowAprovacao servicoWorkflowAprovacao,
                    IServicoUsuario servicoUsuario,
                    IUnitOfWork unitOfWork)
 {
     this.repositorioAula                = repositorioAula ?? throw new System.ArgumentNullException(nameof(repositorioAula));
     this.servicoEOL                     = servicoEOL ?? throw new System.ArgumentNullException(nameof(servicoEOL));
     this.repositorioTipoCalendario      = repositorioTipoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioTipoCalendario));
     this.servicoDiaLetivo               = servicoDiaLetivo ?? throw new System.ArgumentNullException(nameof(servicoDiaLetivo));
     this.consultasGrade                 = consultasGrade ?? throw new System.ArgumentNullException(nameof(consultasGrade));
     this.consultasPeriodoEscolar        = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasFrequencia            = consultasFrequencia ?? throw new ArgumentNullException(nameof(consultasFrequencia));
     this.consultasPlanoAula             = consultasPlanoAula ?? throw new ArgumentNullException(nameof(consultasPlanoAula));
     this.servicoLog                     = servicoLog ?? throw new ArgumentNullException(nameof(servicoLog));
     this.comandosWorkflowAprovacao      = comandosWorkflowAprovacao ?? throw new ArgumentNullException(nameof(comandosWorkflowAprovacao));
     this.configuration                  = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.servicoNotificacao             = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.comandosPlanoAula              = comandosPlanoAula ?? throw new ArgumentNullException(nameof(comandosPlanoAula));
     this.servicoFrequencia              = servicoFrequencia ?? throw new ArgumentNullException(nameof(servicoFrequencia));
     this.repositorioAtividadeAvaliativa = repositorioAtividadeAvaliativa ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativa));
     this.repositorioAtribuicaoCJ        = repositorioAtribuicaoCJ ?? throw new ArgumentNullException(nameof(repositorioAtribuicaoCJ));
     this.repositorioTurma               = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.servicoWorkflowAprovacao       = servicoWorkflowAprovacao ?? throw new ArgumentNullException(nameof(servicoWorkflowAprovacao));
     this.servicoUsuario                 = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.comandosNotificacaoAula        = comandosNotificacaoAula ?? throw new ArgumentNullException(nameof(comandosNotificacaoAula));
     this.unitOfWork                     = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
コード例 #15
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));
 }
コード例 #16
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));
 }
コード例 #17
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));
 }
 public ObterFuncionariosIdPorCodigoUeECargoQueryHandler(IServicoNotificacao servicoNotificacao, IMediator mediator)
 {
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
     this.mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
コード例 #19
0
 public VerificarPendenciaAulaDiasNaoLetivosCommandHandler(IMediator mediator, IServicoNotificacao servicoNotificacao)
 {
     this.mediator           = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
 }
コード例 #20
0
 public EnviaNotificacaoCriadorCommandHandler(IServicoNotificacao servicoNotificacao)
 {
     this.servicoNotificacao = servicoNotificacao ?? throw new ArgumentNullException(nameof(servicoNotificacao));
 }