Example #1
0
        private BakingDish <PumpkinBatterCup>?PrepareBackingDish(BowlOf <FlourMixture> flourMixture, BowlOf <EggsMixture> eggsMixture)
        {
            var pumpkinBatterCups = ImmutableList.CreateBuilder <PumpkinBatterCup>();

            for (var i = 0; i < 24; i++)
            {
                var fillPumpkinBatterCup = FillPumpkinBatterCup(flourMixture, eggsMixture);
                pumpkinBatterCups.Add(fillPumpkinBatterCup);
            }
            return(_cookingTable.FindBakingDish(pumpkinBatterCups.ToImmutable()));
        }
Example #2
0
 private PumpkinBatterCup FillPumpkinBatterCup(BowlOf <FlourMixture> flourMixture, BowlOf <EggsMixture> eggsMixture)
 {
     return(new PumpkinBatterCup());
 }