public Graph(TreeNodeData treeNode) { IGraph graph = GraphHelper.Convert(treeNode); _paths = graph.Paths; _severity = graph.Severity; _maxRelations = graph.MaxRelations; }
public Graph(ReportQueryResult query) { IGraph graph = GraphHelper.Convert(query); _paths = graph.Paths; _severity = graph.Severity; _maxRelations = graph.MaxRelations; }
public TreeNodeData(ViewerTreeNodeType type, int id, string name, long scanId, ReportQuerySeverityType severity, ReportQueryResult queryResult) { Type = type; Id = id; Name = name; ScanId = scanId; Severity = severity; QueryResult = queryResult; }
public Graph(ReportQueryItemResult queryItem) { _paths = new List <GraphPath>(); _paths.Add((GraphPath)GraphHelper.Convert(queryItem, 0)); _severity = queryItem.Query.Severity; }