public Ingredient(string name, decimal unitPrice, decimal quantity, MeasureUnitType unitType) { this.Name = name; this.UnitPrice = unitPrice; this.UnitType = unitType; this.Quantity = quantity; this.IsDeleted = false; }
public Drink(string name, decimal price, int unitQuantity, int totalQuantity, MeasureUnitType measureUnitType) : base(name) { this.Price = price; this.TotalQuantity = totalQuantity; this.measureUnitType = measureUnitType; this.UnitQuantity = unitQuantity; }
/// <summary> /// Initializes a new instance of the <see cref="Benchmark"/> class. /// </summary> /// <param name="measureUnitType">Type of the measure.</param> private Benchmark(MeasureUnitType measureUnitType) { this.measureUnitType = measureUnitType; this.timer.Start(); }