public AtualizarPendenciaRegistroIndividualCommandHandler(IRepositorioPendenciaRegistroIndividual repositorioPendenciaRegistroIndividual,
                                                           IRepositorioPendenciaRegistroIndividualAluno repositorioPendenciaRegistroIndividualAluno, IRepositorioPendencia repositorioPendencia,
                                                           IMediator mediator, IUnitOfWork unitOfWork)
 {
     this.repositorioPendenciaRegistroIndividual      = repositorioPendenciaRegistroIndividual;
     this.repositorioPendenciaRegistroIndividualAluno = repositorioPendenciaRegistroIndividualAluno;
     this.repositorioPendencia = repositorioPendencia;
     this.mediator             = mediator;
     this.unitOfWork           = unitOfWork;
 }
コード例 #2
0
 public GerarPendenciaAusenciaRegistroIndividualTurmaCommandHandler(IRepositorioPendencia repositorioPendencia, IRepositorioPendenciaUsuario repositorioPendenciaUsuario,
                                                                    IRepositorioPendenciaRegistroIndividual repositorioPendenciaRegistroIndividual, IRepositorioPendenciaRegistroIndividualAluno repositorioPendenciaRegistroIndividualAluno,
                                                                    IMediator mediator, IUnitOfWork unitOfWork)
 {
     this.repositorioPendencia                        = repositorioPendencia ?? throw new ArgumentNullException(nameof(repositorioPendencia));
     this.repositorioPendenciaUsuario                 = repositorioPendenciaUsuario ?? throw new ArgumentNullException(nameof(repositorioPendenciaUsuario));
     this.repositorioPendenciaRegistroIndividual      = repositorioPendenciaRegistroIndividual ?? throw new ArgumentNullException(nameof(repositorioPendenciaRegistroIndividual));
     this.repositorioPendenciaRegistroIndividualAluno = repositorioPendenciaRegistroIndividualAluno ?? throw new ArgumentNullException(nameof(repositorioPendenciaRegistroIndividualAluno));
     this.mediator   = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
コード例 #3
0
 public ServicoPendenciaFechamento(IUnitOfWork unitOfWork,
                                   IRepositorioAtividadeAvaliativa repositorioAtividadeAvaliativa,
                                   IRepositorioPendencia repositorioPendencia,
                                   IRepositorioPendenciaFechamento repositorioPendenciaFechamento,
                                   IRepositorioAula repositorioAula,
                                   IRepositorioComponenteCurricular repositorioComponenteCurricular,
                                   IRepositorioParametrosSistema repositorioParametrosSistema,
                                   IRepositorioFechamentoNota repositorioFechamentoNota,
                                   IServicoUsuario servicoUsuario,
                                   IMediator mediator)
 {
     this.unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.repositorioAtividadeAvaliativa = repositorioAtividadeAvaliativa ?? throw new ArgumentNullException(nameof(repositorioAtividadeAvaliativa));
     this.repositorioPendencia           = repositorioPendencia ?? throw new ArgumentNullException(nameof(repositorioPendencia));
     this.repositorioPendenciaFechamento = repositorioPendenciaFechamento ?? throw new ArgumentNullException(nameof(repositorioPendenciaFechamento));
     this.repositorioAula = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.repositorioFechamentoNota    = repositorioFechamentoNota ?? throw new ArgumentNullException(nameof(repositorioFechamentoNota));
     this.servicoUsuario = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
コード例 #4
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));
 }
コード例 #5
0
 public SalvarPendenciaCommandHandler(IRepositorioPendencia repositorioPendencia)
 {
     this.repositorioPendencia = repositorioPendencia ?? throw new ArgumentNullException(nameof(repositorioPendencia));
 }
コード例 #6
0
 public ExcluirPendenciaPorIdCommandHandler(IMediator mediator, IRepositorioPendencia repositorioPendencia)
 {
     this.mediator             = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.repositorioPendencia = repositorioPendencia ?? throw new ArgumentNullException(nameof(repositorioPendencia));
 }
コード例 #7
0
 public ObterPendenciasPorUsuarioQueryHandler(IContextoAplicacao contextoAplicacao, IMediator mediator, IRepositorioPendencia repositorioPendencia) : base(contextoAplicacao)
 {
     this.mediator             = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.repositorioPendencia = repositorioPendencia ?? throw new ArgumentNullException(nameof(repositorioPendencia));
 }