示例#1
0
 public Coffee(int sugar, IPreparable type)
 {
     sugarPieces = sugar;
     Preparable  = type;
 }
示例#2
0
 public Pizzeria(IPreparable food)
 {
     foods     = new List <IPreparable>();
     this.food = food;
 }