public static string ToDisplayText(this SaucePosition saucePosition)
 {
     return(saucePosition switch
     {
         SaucePosition.Drauf => Resource.SaucePositionDrauf,
         SaucePosition.Daneben => Resource.SaucePositionDaneben,
         _ => saucePosition.ToString()
     });
예제 #2
0
 public string ToOrderSentence()
 {
     return($"{Resource.OrderSentenceBegin} {SausageKind.ToOrderSentenceText()}, " +
            $"{CutKind.ToOrderSentenceText()}, " +
            $"{Sauce.ToOrderSentenceTextDativ()}. " +
            $"{Sauce.ToOrderSentenceTextNominativ()} {SauceTaste.ToOrderSentenceText()} {Resource.OrderSentenceAnd} {SaucePosition.ToOrderSentenceText()}. " +
            $"{Resource.OrderSentenceWith} {BreadKind.ToOrderSentenceText()} " +
            $"{Side.ToOrderSentenceText()}. " +
            $"{Resource.OrderSentenceIsItFineLikeThat}");
 }