示例#1
0
 public CafeDecorador(Cafe cafeBase)
 {
     CafeBase = cafeBase;
 }
示例#2
0
文件: Chocolate.cs 项目: juanip/tpnet
 public Chocolate(Cafe cafeBase)
     : base(cafeBase)
 {
     this.Detalle = "chocolate";
     this.Precio = 5.0;
 }
示例#3
0
文件: Leche.cs 项目: juanip/tpnet
 public Leche(Cafe cafeBase)
     : base(cafeBase)
 {
     this.Detalle = "leche";
     this.Precio = 3.0;
 }