Exemple #1
0
 public static LastOrderDrink Available(
     DrinkDetails drink,
     DrinkSizeDetails drinkSize,
     List <AddInDetails> addIns,
     Quantity count,
     Roubles price
     ) => new LastOrderDrink(
     drink,
     drinkSize,
     addIns,
     count,
     price
     );
Exemple #2
0
 private LastOrderDrink(
     DrinkDetails drink,
     DrinkSizeDetails drinkSize,
     List <AddInDetails> addIns,
     Quantity count,
     Roubles price
     )
 {
     Drink     = drink;
     DrinkSize = drinkSize;
     AddIns    = addIns;
     Count     = count;
     Price     = price;
 }