var cobbleranalysis = new analysisservice(); cobbleranalysis.evaluatecobblingmethods(concealeditems, (items) => items.foreach(item => { var result = new propositions(); if (prevenienttechniques.negate(item.issue)) { result.solutions.add(new solution().redo(item)); } else { result.solutions.add(item); } console.writeline($"positive outlook on concealed cobbling techniques: {result.solutions.count} solutions found."); }));