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 #2
0
 public FundosController(IFundosService fundosService)
     : base()
 {
     this._fundosService = fundosService;
 }
 public FundosService(IFundosService fundosService, ILogger <FundosService> logger, IRedisClient <ListadeFundos> redisClient)
 {
     _fundosService = fundosService;
     _logger        = logger;
     _redisClient   = redisClient;
 }
Example #4
0
 public FundosAppService(IFundosService fundosService) : base(fundosService)
 {
     _fundosService = fundosService;
 }