public Customer(string name, DateTime birthday, double productPrice, ICalculationLogic calcLogic) { this.name = name; this.birthday = birthday; this.productPrice = productPrice; this.calcLogic = calcLogic; }
public Calculator( ICalculationLogic calculationLogic, IDataParser dataParser, IDataReader dataReader, ILogger logger, IBinaryTreeValidator binaryTreeValidator) { _calculationLogic = calculationLogic; _dataParser = dataParser; _dataReader = dataReader; _logger = logger; _binaryTreeValidator = binaryTreeValidator; InitLogger(); }
public CalculateController(ICalculationLogic calculationLogic) { CalculationLogic = calculationLogic; }
public GoldCustomer(string name, DateTime birthday, double productPrice, ICalculationLogic calcLogic) : base(name, birthday, productPrice, calcLogic) { }