public TaxaDeJurosChain(ITaxaDeJurosPadraoFactory <ITaxaDeJurosPadrao> taxaDeJurosPadraoFactory, ITaxaDeJurosEspecialFactory <ITaxaDeJurosEspecial> taxaDeJurosEspecialFactory, ITaxasDeJurosContext taxasDeJurosContext) { _taxaDeJurosEspecialLink = new TaxaDeJurosEspecialLink(taxaDeJurosEspecialFactory, taxasDeJurosContext); _taxaDeJurosPadraoLink = new TaxaDeJurosPadraoLink(taxaDeJurosPadraoFactory, taxasDeJurosContext); _taxaDeJurosEspecialLink.SetProximoLink(_taxaDeJurosPadraoLink); }
public TaxaDeJurosEspecialLink(ITaxaDeJurosEspecialFactory <ITaxaDeJurosEspecial> taxaDeJurosEspecialFactory, ITaxasDeJurosContext taxasDeJurosContext) : base(taxaDeJurosEspecialFactory) { _taxasDeJurosContext = taxasDeJurosContext; }