public IRankedCombinationMap CreateMap(Func <IList <Type>, bool> criteria) { var map = new RankedCombinationMap(); calculator .GetCombinations(decorators, criteria) .ForEach(c => map.AddRanked(c)); return(map); }
public IRankedCombinationMap CreateMap() { var map = new RankedCombinationMap(); calculator .GetCombinations(decorators) .ForEach(c => map.AddRanked(c)); return(map); }