Example #1
0
 /// <summary>Создаёт новый экземпляр класса <see cref="Purchase"/></summary>
 /// <param name="merchandise">Товар</param>
 /// <param name="user">Пользователь</param>
 /// <param name="count">Количество</param>
 public Purchase(TestUser user, Merchandise <T> merchandise, int count = 1) : base(merchandise, count)
 {
 }
Example #2
0
 /// <summary>Создаёт новый экземпляр класса <see cref="Storage"/></summary>
 /// <param name="merchandise">Товар</param>
 /// <param name="count">Количество</param>
 public Storage(Merchandise <T> merchandise, int count = 1) : base(merchandise)
 {
     Merchandise = merchandise;
     Count       = count;
 }
 /// <summary>Создаёт новый экземпляр класса <see cref="Merchandise"/></summary>
 /// <param name="merchandise">Товар</param>
 protected MerchandiseAction(Merchandise <T> merchandise)
 {
     Merchandise = merchandise;
 }