I was hoping to be able to inject the dependency on IOrderTotalCalculationService into my implementation of IDiscountRequirementRule by adding an argument of type IOrderTotalCalculationService in the ctor, but the DependencyResolver doesn't appear to resolving the dependencies when the discount requirement rule object is instantiated.
I tried cheating by adding this line of code to the CheckRequirement() method of my rule:
var service = DependencyResolver.Current.GetService(typeof(IOrderTotalCalculationService)) as IOrderTotalCalculationService;
However, this doesn't seem to be working either. Any help would be appreciated.