private IDashboardOutput GenerateDashboardOutput(string query, List <IApiOperation> iOperations) { var root = new DashboardOutputLeaf(); root.Name = "output"; var generator = new DashboardOutputGenerator(); generator.Generate(ref root, query, iOperations); return(root); }
private IDashboardOutput GenerateDashboardOutput(ApiDashboard dashboard, List <IApiOperation> iOperations) { var root = new DashboardOutput(); root.Name = dashboard.Name; var generator = new DashboardOutputGenerator(); generator.Generate(ref root, dashboard, iOperations); return(root); }