// Methods
 public MyPriceCalculator(string priceKey, TotalsFactory totalsFactory)
 {
     Assert.ArgumentNotNullOrEmpty(priceKey, "priceKey");
     Assert.ArgumentNotNull(totalsFactory, "totalsFactory");
     this._totalsFactory = totalsFactory;
     base.PriceKey = priceKey;
 }
 // Methods
 public MyPriceCalculatorFactoryImpl(CustomerMembership membership, TotalsFactory totalsFactory)
 {
     Assert.ArgumentNotNull(membership, "membership");
     Assert.ArgumentNotNull(totalsFactory, "totalsFactory");
     this.membership = membership;
     this.totalsFactory = totalsFactory;
 }