public void Using() { var wildDog = new WildDog(); var wildDogAdapter = new WildDogAdapter(wildDog); var hunter = new Hunter(); hunter.Hunt(wildDogAdapter); }
public WildDogAdapter(WildDog dog) { this.dog = dog; }