public ShippingCostService(IShippingCostCalculationStrategy calculationStrategy) { CalculationStrategy = calculationStrategy; }
public SmartShippingCostCalculatorService( IShippingCostCalculationStrategy strategy) { _strategy = strategy ?? throw new ArgumentNullException(nameof(strategy)); }