Exemple #1
0
 public ComandosUsuario(IRepositorioUsuario repositorioUsuario,
                        IServicoAutenticacao servicoAutenticacao,
                        IServicoUsuario servicoUsuario,
                        IServicoPerfil servicoPerfil,
                        IServicoEol servicoEOL,
                        IServicoTokenJwt servicoTokenJwt,
                        IServicoEmail servicoEmail,
                        IConfiguration configuration,
                        IRepositorioCache repositorioCache,
                        IServicoAbrangencia servicoAbrangencia,
                        IRepositorioAtribuicaoEsporadica repositorioAtribuicaoEsporadica,
                        IRepositorioAtribuicaoCJ repositorioAtribuicaoCJ,
                        IRepositorioHistoricoEmailUsuario repositorioHistoricoEmailUsuario)
 {
     this.repositorioUsuario               = repositorioUsuario ?? throw new ArgumentNullException(nameof(repositorioUsuario));
     this.servicoAutenticacao              = servicoAutenticacao ?? throw new ArgumentNullException(nameof(servicoAutenticacao));
     this.servicoUsuario                   = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.servicoPerfil                    = servicoPerfil ?? throw new ArgumentNullException(nameof(servicoPerfil));
     this.servicoEOL                       = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.servicoTokenJwt                  = servicoTokenJwt ?? throw new ArgumentNullException(nameof(servicoTokenJwt));
     this.servicoAbrangencia               = servicoAbrangencia ?? throw new ArgumentNullException(nameof(servicoAbrangencia));
     this.repositorioAtribuicaoEsporadica  = repositorioAtribuicaoEsporadica ?? throw new ArgumentNullException(nameof(repositorioAtribuicaoEsporadica));
     this.repositorioAtribuicaoCJ          = repositorioAtribuicaoCJ ?? throw new ArgumentNullException(nameof(repositorioAtribuicaoCJ));
     this.repositorioHistoricoEmailUsuario = repositorioHistoricoEmailUsuario ?? throw new ArgumentNullException(nameof(repositorioHistoricoEmailUsuario));
     this.servicoEmail                     = servicoEmail ?? throw new ArgumentNullException(nameof(servicoEmail));
     this.configuration                    = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.repositorioCache                 = repositorioCache ?? throw new ArgumentNullException(nameof(repositorioCache));
 }
Exemple #2
0
        public ComandosUsuario(IRepositorioUsuario repositorioUsuario,
            IServicoAutenticacao servicoAutenticacao,
            IServicoUsuario servicoUsuario,
            IServicoPerfil servicoPerfil,
            IServicoEOL servicoEOL,
            IServicoTokenJwt servicoTokenJwt,
            IServicoEmail servicoEmail,
            IConfiguration configuration,
            IRepositorioCache repositorioCache,
            IServicoAbrangencia servicoAbrangencia)
        {
            this.repositorioUsuario = repositorioUsuario ??
                throw new System.ArgumentNullException(nameof(repositorioUsuario));
            this.servicoAutenticacao = servicoAutenticacao ??
                throw new System.ArgumentNullException(nameof(servicoAutenticacao));
            this.servicoUsuario = servicoUsuario ??
                throw new System.ArgumentNullException(nameof(servicoUsuario));
            this.servicoPerfil = servicoPerfil ??
                throw new System.ArgumentNullException(nameof(servicoPerfil));
            this.servicoEOL = servicoEOL ??
                throw new System.ArgumentNullException(nameof(servicoEOL));
            this.servicoTokenJwt = servicoTokenJwt ??
                throw new System.ArgumentNullException(nameof(servicoTokenJwt));
            this.servicoAbrangencia = servicoAbrangencia ??
                throw new System.ArgumentNullException(nameof(servicoAbrangencia));

            this.servicoEmail = servicoEmail ?? throw new ArgumentNullException(nameof(servicoEmail));
            this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
            this.repositorioCache = repositorioCache ?? throw new ArgumentNullException(nameof(repositorioCache));
        }
Exemple #3
0
 public ServicoAtribuicaoCJ(IRepositorioAtribuicaoCJ repositorioAtribuicaoCJ, IServicoAbrangencia servicoAbrangencia, IRepositorioTurma repositorioTurma,
                            IRepositorioAbrangencia repositorioAbrangencia, IServicoEOL servicoEOL, IRepositorioAula repositorioAula, IServicoUsuario servicoUsuario)
 {
     this.repositorioAtribuicaoCJ = repositorioAtribuicaoCJ ?? throw new ArgumentNullException(nameof(repositorioAtribuicaoCJ));
     this.servicoAbrangencia      = servicoAbrangencia ?? throw new ArgumentNullException(nameof(servicoAbrangencia));
     this.repositorioTurma        = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioAbrangencia  = repositorioAbrangencia ?? throw new ArgumentNullException(nameof(repositorioAbrangencia));
     this.servicoEOL      = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.repositorioAula = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.servicoUsuario  = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
 }
Exemple #4
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));
 }