예제 #1
0
 public Sandwich(IBread topBread, CondimentList topCondiments, IngredientList ingredients, CondimentList bottomCondiments, IBread bottomBread)
 {
     _topBread         = topBread;
     _topCondiments    = topCondiments;
     _ingredients      = ingredients;
     _bottomCondiments = bottomCondiments;
     _bottomBread      = bottomBread;
 }
예제 #2
0
 public Sandwich(IBread topBread, CondimentList topCondiments, IngredientList ingredients, CondimentList bottomCondiments, IBread bottomBread)
 {
     _topBread = topBread;
     _topCondiments = topCondiments;
     _ingredients = ingredients;
     _bottomCondiments = bottomCondiments;
     _bottomBread = bottomBread;
 }