public static void Run() { var xmlGraphs = new XmlGraphs(); var graphViewer = new JsonGraphs(xmlGraphs); var jsonData = "data in json text"; graphViewer.DisplayBarChart(jsonData); graphViewer.DisplayPieChart(jsonData); }
internal JsonGraphs(XmlGraphs adaptee) { this.adaptee = adaptee; }