Beispiel #1
0
 public TurkeyAdapter(ITurkey turkey)
 {
     _turkey = turkey;
 }
Beispiel #2
0
 public TurkeyAdpter(ITurkey turkey)
 {
     this.Turkey = turkey;
 }
 public TurkeyDuckAdapter(ITurkey turkey)
 {
     Turkey = turkey;
 }
Beispiel #4
0
 public TurkeyAdapter(ITurkey turkey)
 {
     _turkey = turkey;
 }
Beispiel #5
0
 static void TestTurkey(ITurkey turkey)
 {
     turkey.Bubble();
     turkey.Fly();
 }
 public void CookTurkey(ITurkey turkey)
 {
     Console.WriteLine("Im cooking this turkey: " + turkey.Flavor());
 }
 public TurkeyAdapter(ITurkey turkey)
 {
     Console.WriteLine("Turkey adapter Says...");
     _turkey = turkey;
 }
 public TurkeyAdapter(ITurkey someTurkey)
 {
     _someTurkey = someTurkey;
 }
Beispiel #9
0
 public TurkeyTom(ITurkey turkey, ILettuce lettuce, ITomato tomato, IVinaigrette vinaigrette)
 {
 }
 public DuckAdapter(ITurkey turkey)
 {
     _turkey = turkey;
 }
Beispiel #11
0
 public static void TestTurkey(ITurkey t)
 {
     t.Gobble();
     t.Fly();
 }
Beispiel #12
0
 public TurkeyAdapter(ITurkey t)
 {
     _turkey = t;
 }
Beispiel #13
0
 public TurkeyAdapter(ITurkey _turkey)
 {
     turkey = _turkey;
 }
 public void CookTurkey(ITurkey turkey)
 {
     Console.WriteLine("Im cooking this turkey: " + turkey.Flavor());
 }
 public TurkeyAdapter(ITurkey turkey)
 {
     _turkey = turkey ?? throw new ArgumentNullException(nameof(turkey));
 }
Beispiel #16
0
 static void TestTurkey(ITurkey turkey)
 {
     turkey.Gobble();
     turkey.Fly();
 }
Beispiel #17
0
 private static void TestTurkey(ITurkey turkey)
 {
     turkey.Gobble();
     turkey.Fly();
 }
 // Constructor
 public TurkeyToDuckAdapter(ITurkey turkey)
 {
     this._turkey = turkey;
 }
Beispiel #19
0
 static void TestDuck(ITurkey turkeyInterface)
 {
     turkeyInterface.Gobble();
     turkeyInterface.Fly();
 }
 public TurkeyObjectAdapter(ITurkey turkey)
 {
     this._turkey = turkey;
 }
Beispiel #21
0
 public ClassAdapter(ITurkey turkey)
 {
     this.turkey = turkey;
 }
 public TurkeyDuckAdapter(ITurkey turkeyDuckWannaBe)
 {
     turkey = turkeyDuckWannaBe;
 }
Beispiel #23
0
 public DuckAdapter(ITurkey turkey)
 {
     _turkey = turkey;
 }
Beispiel #24
0
 public TurkeyAdapter(ITurkey turkey)
 {
     this.turkey = turkey;
 }
 public static void TurkeyClient(ITurkey turkey)
 {
     Console.WriteLine(turkey.Gobble());
     Console.WriteLine(turkey.Fly());
 }
Beispiel #26
0
 public TurkeyTom(ITurkey turkey, ILettuce lettuce, ITomato tomato, IVinaigrette vinaigrette)
 {
 }
 public TurkeyDuckAdapter(ITurkey turkeyDuckWannaBe)
 {
     turkey = turkeyDuckWannaBe;
 }
 public TurkeyAdapter(ITurkey turkey)
 {
     this.turkey = turkey;
 }
Beispiel #29
0
 static void TestTurkey(ITurkey turkey)
 {
     turkey.FLy();
     turkey.Gobble();
 }