private void Add(ExtractedResult result, int index) { foreach (WhatComponent component in result.WhatProperties()) { Add(component, index); } }
private void Add(ExtractedResult result, HashSet <string> otherRunLocations, int index) { // Find the LocationSpecifier for the Result (the first Uri or FQN also in the other Run) string locationSpecifier = WhereComparer.LocationSpecifier(result, otherRunLocations); // Add Result attributes used as matching hints in a "bucket" for the Rule x LocationSpecifier x AttributeName foreach (WhatComponent component in result.WhatProperties(locationSpecifier)) { Add(component, index); } }