///<summary> ///</summary> ///<param name="name"></param> public void RemovePricingStructure(string name) { if (PricingStructures.ContainsKey(name)) { PricingStructures.Remove(name); } }
///<summary> ///</summary> ///<param name="name"></param> ///<param name="pricingStructure"></param> public void AddPricingStructure(string name, IPricingStructure pricingStructure) { if (pricingStructure != null) { if (PricingStructures.ContainsKey(name)) { PricingStructures.Remove(name); } PricingStructures.Add(name, pricingStructure); } }