public Fish(double price, int count, FishName fishName, DealerCountry dealerCountry) : base(price, count) { Id = System.Threading.Interlocked.Increment(ref m_Counter); Price = price; Count = count; DealerCountry = dealerCountry; FishName = fishName; }
public Vegetables(double price, int count, VegetableType type, DealerCountry country) : base(price, count) { Id = System.Threading.Interlocked.Increment(ref m_Counter); Country = country; Type = type; }
public Herbaceous(double price, int count, HerbaceousType type, DealerCountry country) : base(price, count) { Id = System.Threading.Interlocked.Increment(ref m_Counter); Type = type; Country = country; }