Exemple #1
0
 public SalmonSushi(Sushi sh)
     : base(sh.Name + " с лососем,", sh)
 {
 }
Exemple #2
0
 public TobikoSushi(Sushi s)
     : base(s.Name + " с икрой летучей рыбы,", s)
 {
 }
Exemple #3
0
 public SushiDecorator(string n, Sushi sushi) : base(n)
 {
     this.sushi = sushi;
 }