Ejemplo n.º 1
0
        private Maybe <BakingDish <PumpkinBatterCup> > PrepareBackingDish(BowlOf <FlourMixture> flourMixture, BowlOf <EggsMixture> eggsMixture)
        {
            var pumpkinBatterCups = ImmutableList.CreateBuilder <PumpkinBatterCup>();

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