public ResultStore GetResultStore() { var results = new ResultStore(); results.Add("id", id); results.Add("type", type); results.Add("ccy", ccy.ToString()); results.Add("fixedRate", fixedRate); results.Add("loanDates", balanceDates); results.Add("loanBalances", balanceAmounts); return(results); }
/// <summary> /// Some useful information for a user who has an instance of this class. /// </summary> /// <returns></returns> public ResultStore GetResultStore() { ResultStore results = new ResultStore(); results.Add("id", id); results.Add("type", type); results.Add("ccy", ccy.ToString()); results.Add("floatIndex", index.ToString()); results.Add("spread", spread); results.Add("loanDates", resetDates); results.Add("loanBalances", notionals); return(results); }
public ResultStore GetResultStore() { ResultStore swapDetails = new ResultStore(); swapDetails.Add("payFixed", payFixed); swapDetails.Add("indexDates", indexDates); swapDetails.Add("payDates", paymentDates); swapDetails.Add("index", index.ToString()); swapDetails.Add("spreads", spreads); swapDetails.Add("accrualFractions", accrualFractions); swapDetails.Add("notionals", notionals); swapDetails.Add("fixedRate", fixedRate); return(swapDetails); }