public void Add(String code, BondPriceRateMap map) { _dict.Add(code, map); }
public static BondPriceRateMap CreateBondPriceRateMap(String code, DateTime settlement, DateTime maturity, double coupon, int frequencyPerYear) { BondPriceRateMap map = new BondPriceRateMap(code, settlement, maturity, coupon, frequencyPerYear); return map; }