Пример #1
0
        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);
        }
Пример #2
0
        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);
        }