Exemple #1
0
 ///<summary>
 ///</summary>
 ///<param name="name"></param>
 public void RemovePricingStructure(string name)
 {
     if (PricingStructures.ContainsKey(name))
     {
         PricingStructures.Remove(name);
     }
 }
Exemple #2
0
 ///<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);
     }
 }