Example #1
0
 public PosicaoConsolidadaService(ITesouroDiretoService tesouroDiretoService, IRendaFixaService rendaFixaService, IFundoService fundoService,
                                  ICacheService cacheService)
 {
     _tesouroDiretoService = tesouroDiretoService;
     _rendaFixaService     = rendaFixaService;
     _fundoService         = fundoService;
     _cacheService         = cacheService;
 }
 public ConsultarValorTotalInvestidoHandler(IOptionsSnapshot <ServicesOptions> investimentosServiceOption,
                                            ILogger <ConsultarValorTotalInvestidoHandler> logger, IFundosService fundosService,
                                            ITesouroDiretoService tesouroDiretoService, IRendaFixaService rendaFixaService)
 {
     this._servicesOptions = investimentosServiceOption?.Value;
     _logger               = logger ?? throw new ArgumentNullException(nameof(logger));
     _fundosService        = fundosService ?? throw new ArgumentNullException(nameof(fundosService));
     _tesouroDiretoService = tesouroDiretoService ?? throw new ArgumentNullException(nameof(tesouroDiretoService));
     _rendaFixaService     = rendaFixaService ?? throw new ArgumentNullException(nameof(rendaFixaService));
 }
Example #3
0
 public InvestimentoService(ITesouroDiretoService tesouroDiretoService,
                            IRendaFixaService rendaFixaService,
                            IFundoService fundoService,
                            ILogger <InvestimentoService> logger)
 {
     _tesouroDiretoService = tesouroDiretoService;
     _rendaFixaService     = rendaFixaService;
     _fundoService         = fundoService;
     _logger = logger;
 }
Example #4
0
 public InvestimentosController(IInvestimentoService service,
                                ITesouroDiretoService tesouroService,
                                IRendaFixaService rendaFixaService,
                                IFundoService fundoService,
                                ILogger <InvestimentosController> logger)
 {
     _service          = service;
     _tesouroService   = tesouroService;
     _rendaFixaService = rendaFixaService;
     _fundoService     = fundoService;
     _logger           = logger;
 }
Example #5
0
 public RendaFixaService(IRendaFixaService RendaFixaService, ILogger <RendaFixaService> logger, IRedisClient <ListadeRendaFixa> redisClient)
 {
     _rendaFixaService = RendaFixaService;
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     _redisClient      = redisClient ?? throw new ArgumentNullException(nameof(redisClient));
 }