예제 #1
0
 public SandwichBuilder Without(CondimentDto condiment)
 {
     sandwich.Condiments.Remove(condiment);
     return(this);
 }
예제 #2
0
 public SandwichBuilder With(CondimentDto condiment)
 {
     sandwich.Condiments.Add(condiment);
     return(this);
 }