public void OnReceive(CreditScoreForLoanRateQuoteEstablished message) { Console.WriteLine("LoanBroker: " + message); foreach (var bank in banks) { bank.Tell( new QuoteLoanRate( message.LoanRateQuoteId, message.TaxId, message.CreditScore, message.Amount, message.TermInMonths), Self); } }
public void OnReceive(CreditScoreForLoanRateQuoteEstablished message) { Console.WriteLine("LoanBroker: " + message); foreach (var bank in banks) { bank.Tell( new QuoteLoanRate( message.LoanRateQuoteId, message.TaxId, message.CreditScore, message.Amount, message.TermInMonths), Self); } }