AddResults() public method

public AddResults ( IEnumerable results ) : void
results IEnumerable
return void
        public IRulesResultCollection RunRules(Solution solution)
        {
            var solutionResults = SolutionProcessors.Select(processor => processor.RunRules(solution));
            var projectResults  =
                ProjectProcessors.SelectMany(processor => solution.Projects.Select(project => processor.RunRules(project)));

            var results = new RulesResultCollectionBase();

            results.AddResults(solutionResults);
            results.AddResults(projectResults);

            return(results);
        }
 public void Setup()
 {
     result = new RulesResultCollectionBase();
     result.AddResults(new []{new RulesResultBase()});
 }