示例#1
0
 public PizzaModel(long pmId, string userId)
 {
     this.PizzaModelID = pmId;
     tomato = new Tomato();
     mozzarella = new Mozzarella();
     this.Id = userId;
 }
示例#2
0
文件: Pizza.cs 项目: toddbadams/mvc5
 public Pizza(Tomato tomato, Mozzarella mozzarella)
 {
     this.tomato = tomato;
     this.mozzarella = mozzarella;
 }
示例#3
0
文件: Pizza.cs 项目: toddbadams/mvc5
 public Pizza()
 {
     tomato = new Tomato();
     mozzarella = new Mozzarella();
 }