public void DisplayExample() { var framework = new Some3rdPartyFramework(); ITarget target = new MyAdapter(framework); Console.WriteLine(target.ReturnDataAsXML()); }